SecurityContext (Apache CXF JavaDoc 3.0.4.redhat-621177 API)

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

    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