## Uses of Interface
org.apache.cxf.security.SecurityContext

- Packages that use SecurityContext
  Package | Description
  --- | ---
  org.apache.cxf.common.security |
  org.apache.cxf.interceptor.security |
  org.apache.cxf.security |

- - ### Uses of SecurityContext in org.apache.cxf.common.security

    Classes in org.apache.cxf.common.security that implement SecurityContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleSecurityContext`

  - ### Uses of SecurityContext in org.apache.cxf.interceptor.security

    Classes in org.apache.cxf.interceptor.security that implement SecurityContext
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultSecurityContext` SecurityContext which implements isUserInRole using the following approach : skip the first Subject principal, and then checks Groups the principal is a member of TODO : consider moving this class into a rt-core-security module
    `class` | `RolePrefixSecurityContextImpl`

    Methods in org.apache.cxf.interceptor.security that return SecurityContext
    Modifier and Type | Method and Description
    --- | ---
    `protected SecurityContext` | AbstractSecurityContextInInterceptor.`createSecurityContext(Principal p, Subject subject)`
    `protected SecurityContext` | JAASLoginInterceptor.`createSecurityContext(String name, Subject subject)`

    Methods in org.apache.cxf.interceptor.security with parameters of type SecurityContext
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | AbstractAuthorizingInInterceptor.`authorize(SecurityContext sc, Method method)`
    `protected boolean` | OperationInfoAuthorizingInterceptor.`authorize(SecurityContext sc, String key)`
    `protected boolean` | SimpleAuthorizingInterceptor.`isUserInRole(SecurityContext sc, List<String> roles, boolean deny)`
    `protected boolean` | AbstractAuthorizingInInterceptor.`isUserInRole(SecurityContext sc, List<String> roles, boolean deny)`

  - ### Uses of SecurityContext in org.apache.cxf.security

    Subinterfaces of SecurityContext in org.apache.cxf.security
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LoginSecurityContext` LoginSecurityContext provides additional information about the authenticated principal.

Apache CXF