Package org.apache.cxf.security
Interface LoginSecurityContext
- All Superinterfaces:
- SecurityContext
- All Known Implementing Classes:
- DefaultSecurityContext,- RolePrefixSecurityContextImpl
LoginSecurityContext provides additional information about the
 authenticated principal.
 
SecurityContext implementations which can get the authenticated
 Subject and/or the list of the user roles may implement this interface.- 
Method SummaryModifier and TypeMethodDescriptionReturns the Subject representing the current authenticated user.Returns a set of Principals representing the roles assigned to the current authenticated user PrincipalMethods inherited from interface org.apache.cxf.security.SecurityContextgetUserPrincipal, isUserInRole
- 
Method Details- 
getSubjectSubject getSubject()Returns the Subject representing the current authenticated user.- Returns:
- the subject
 
- 
getUserRolesReturns a set of Principals representing the roles assigned to the current authenticated user Principal- Returns:
- the roles
 
 
-