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