public interface AuthenticationInfoProvider
AuthenticationInfoProvider
provides the AuthenticationInfo
of the request.
This is usually interpreted by a UserInfoProvider
to extract the user information from the authentication.
The AuthenticationInfo
might be used directly to implement principal propagation of the raw authentication context.Modifier and Type | Method and Description |
---|---|
AuthenticationInfo |
get()
Provides the
AuthenticationInfo . |
default void |
setPrevious(AuthenticationInfoProvider previous)
Passes the latest configured
AuthenticationInfoProvider during configuration phase when this instances gets registered. |
AuthenticationInfo get()
AuthenticationInfo
.AuthenticationInfo
if available, null
otherwise.default void setPrevious(AuthenticationInfoProvider previous)
AuthenticationInfoProvider
during configuration phase when this instances gets registered.
The previous provider can be used to build an adapted provider on top.previous
- The previously registered provider.Copyright © 2021. All rights reserved.