## Uses of Interface
com.holonplatform.auth.AuthContext

- Packages that use AuthContext
  Package | Description
  --- | ---
  com.holonplatform.auth |
  com.holonplatform.spring.security |

- - ### Uses of AuthContext in com.holonplatform.auth

    Methods in com.holonplatform.auth that return AuthContext
    Modifier and Type | Method and Description
    --- | ---
    `static AuthContext` | AuthContext.`create(Realm realm)` Create a default `AuthContext` using given `realm`.
    `static AuthContext` | AuthContext.`create(Realm realm, AuthContext.AuthenticationHolder authenticationHolder)` Create a default `AuthContext` using given `realm` and a custom `AuthContext.AuthenticationHolder` to handle the current `Authentication` reference.
    `static AuthContext` | AuthContext.`require()` Requires the current `AuthContext`.

    Methods in com.holonplatform.auth that return types with arguments of type AuthContext
    Modifier and Type | Method and Description
    --- | ---
    `static Optional<AuthContext>` | AuthContext.`getCurrent()` Convenience method to obtain the current `AuthContext` made available as `Context` resource, using default `ClassLoader`.

  - ### Uses of AuthContext in com.holonplatform.spring.security

    Methods in com.holonplatform.spring.security that return AuthContext
    Modifier and Type | Method and Description
    --- | ---
    `static AuthContext` | SpringSecurity.`authContext()` Create an `AuthContext` which uses the Spring Security `SecurityContext` as authentication holder.
    `static AuthContext` | SpringSecurity.`authContext(org.springframework.security.authentication.AuthenticationManager authenticationManager)` Create an `AuthContext` which uses the Spring Security `SecurityContext` as authentication holder.
    `static AuthContext` | SpringSecurity.`authContext(org.springframework.security.authentication.AuthenticationManager authenticationManager, boolean accountCredentialsAuthenticator)` Create an `AuthContext` which uses the Spring Security `SecurityContext` as authentication holder.
    `static AuthContext` | SpringSecurity.`authContext(Realm realm)` Create an `AuthContext` which uses the Spring Security `SecurityContext` as authentication holder.

Copyright © 2019 The Holon Platform. All rights reserved.