public class SimpleSecurityContext extends Object implements SecurityContext
Constructor and Description |
---|
SimpleSecurityContext(Principal principal) |
SimpleSecurityContext(String name) |
public SimpleSecurityContext(String name)
public SimpleSecurityContext(Principal principal)
public Principal getUserPrincipal()
getUserPrincipal
in interface SecurityContext
public boolean isUserInRole(String role)
isUserInRole
in interface SecurityContext
Apache CXF