Package org.apache.cxf.common.security
Class SimpleSecurityContext
- java.lang.Object
- 
- org.apache.cxf.common.security.SimpleSecurityContext
 
- 
- All Implemented Interfaces:
- SecurityContext
 
 public class SimpleSecurityContext extends Object implements SecurityContext 
- 
- 
Constructor SummaryConstructors Constructor Description SimpleSecurityContext(String name)SimpleSecurityContext(Principal principal)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalgetUserPrincipal()booleanisUserInRole(String role)
 
- 
- 
- 
Method Detail- 
getUserPrincipalpublic Principal getUserPrincipal() - Specified by:
- getUserPrincipalin interface- SecurityContext
 
 - 
isUserInRolepublic boolean isUserInRole(String role) - Specified by:
- isUserInRolein interface- SecurityContext
 
 
- 
 
-