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 SecurityContextpublic boolean isUserInRole(String role)
isUserInRole in interface SecurityContextApache CXF