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

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

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

    Methods in com.holonplatform.auth that return Realm
    Modifier and Type | Method and Description
    --- | ---
    `Realm` | Realm.Builder.`build()` Build `Realm` instance
    `static Realm` | Realm.`require()` Requires the current `Realm`.

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

    Methods in com.holonplatform.auth with parameters of type Realm
    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.

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

    Methods in com.holonplatform.spring.security with parameters of type Realm
    Modifier and Type | Method and Description
    --- | ---
    `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.