org.apache.cxf.security

## Interface SecurityContext

- All Known Subinterfaces:
    LoginSecurityContext
  All Known Implementing Classes:
    DefaultSecurityContext, RolePrefixSecurityContextImpl, SimpleSecurityContext

      public interface SecurityContext

  Provides basic security information about the current message exchange

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Principal` | `getUserPrincipal()`
    `boolean` | `isUserInRole(String role)`

- - ### Method Detail

    - #### getUserPrincipal

          Principal getUserPrincipal()

    - #### isUserInRole

          boolean isUserInRole(String role)

Apache CXF