Class NiFiAnonymousAuthenticationRequestToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.apache.nifi.web.security.NiFiAuthenticationRequestToken
org.apache.nifi.web.security.anonymous.NiFiAnonymousAuthenticationRequestToken
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
This is an authentication request for an anonymous user.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNiFiAnonymousAuthenticationRequestToken
(boolean secureRequest, String clientAddress, Object authenticationDetails) Creates a representation of the anonymous authentication request for a user. -
Method Summary
Methods inherited from class org.apache.nifi.web.security.NiFiAuthenticationRequestToken
getClientAddress
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails
-
Field Details
-
secureRequest
final boolean secureRequest
-
-
Constructor Details
-
NiFiAnonymousAuthenticationRequestToken
public NiFiAnonymousAuthenticationRequestToken(boolean secureRequest, String clientAddress, Object authenticationDetails) Creates a representation of the anonymous authentication request for a user.- Parameters:
clientAddress
- the address of the client making the requestauthenticationDetails
- the authentication details of teh client making the request
-
-
Method Details