| Package | Description |
|---|---|
| com.holonplatform.auth | |
| com.holonplatform.auth.internal | |
| com.holonplatform.spring.security |
| 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. |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAuthContext
Default
AuthContext implementation using a Realm to perform authentication and authorization
operations. |
| 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.