| Package | Description |
|---|---|
| com.holonplatform.auth | |
| com.holonplatform.auth.internal | |
| com.holonplatform.spring.security |
| Modifier and Type | Method and Description |
|---|---|
Realm |
Realm.Builder.build()
Build
Realm instance |
static Realm |
Realm.require()
Requires the current
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. |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRealm
Default
Realm implementation |
| Modifier and Type | Method and Description |
|---|---|
Realm |
DefaultRealm.RealmBuilder.build() |
| Constructor and Description |
|---|
DefaultAuthContext(Realm realm)
Constructor using the default
AuthenticationHolder. |
DefaultAuthContext(Realm realm,
AuthContext.AuthenticationHolder authenticationHolder)
Constructor.
|
| 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.