Use SecurityContext instead.