public interface SpringSecurityAuthentication extends Authentication, org.springframework.security.core.Authentication
Authentication
within a Spring Security environment, extending the Spring Security
Authentication
interface too.
The AUTHENTICATION_DETAILS_KEY
parameter name is used to store the Spring Security authentication details as
an Authentication
parameter.
Authentication.AuthenticationListener, Authentication.AuthenticationNotifier, Authentication.Builder
Modifier and Type | Field and Description |
---|---|
static String |
AUTHENTICATION_DETAILS_KEY
Authentication details parameter name.
|
Modifier and Type | Method and Description |
---|---|
static SpringSecurityAuthentication |
create(org.springframework.security.core.Authentication authentication)
Get the
Authentication representation of the given Spring Security Authentication as a
SpringSecurityAuthentication . |
builder, getPermissions, getScheme, isRoot
builder, empty, forEachParameter, getParameter, getParameter, getParameter, getParameter, getParameter, getParameterIf, getParameterIf, hasNotNullParameter, hasNotNullParameter, hasParameter, hasParameter, hasParameters, hasParameterValue, hasParameterValue
static final String AUTHENTICATION_DETAILS_KEY
static SpringSecurityAuthentication create(org.springframework.security.core.Authentication authentication)
Authentication
representation of the given Spring Security Authentication as a
SpringSecurityAuthentication
.
If authentication details are available through
Authentication.getDetails()
, it will be available as an
Authentication
parameter with name AUTHENTICATION_DETAILS_KEY
.
authentication
- The Spring Security Authentication (not null)SpringSecurityAuthentication
representation of the Spring Security AuthenticationCopyright © 2018 The Holon Platform. All rights reserved.