Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.security
Interface LoginSecurityContext

All Superinterfaces:
  SecurityContext

    public interface LoginSecurityContext

extends SecurityContext

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 Summary
`Subject` | `getSubject()` Returns the Subject representing the current authenticated user.
`Set<Principal>` | `getUserRoles()` Returns a set of Principals representing the roles assigned to the current authenticated user Principal

Methods inherited from interface org.apache.cxf.security.SecurityContext
`getUserPrincipal, isUserInRole`

Method Detail

### getSubject

    Subject getSubject()

  Returns the Subject representing the current authenticated user.

  Returns:
    the subject

### getUserRoles

    Set<Principal> getUserRoles()

  Returns a set of Principals representing the roles assigned to the current authenticated user Principal

  Returns:
    the roles

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF