Class KnoxAuthenticationRequestToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.apache.nifi.web.security.NiFiAuthenticationRequestToken
org.apache.nifi.web.security.knox.KnoxAuthenticationRequestToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
This is an authentication request with a given JWT token.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKnoxAuthenticationRequestToken(String token, String clientAddress) Creates a representation of the jwt authentication request for a user. -
Method Summary
Methods inherited from class org.apache.nifi.web.security.NiFiAuthenticationRequestToken
getClientAddressMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails
-
Field Details
-
token
-
-
Constructor Details
-
KnoxAuthenticationRequestToken
Creates a representation of the jwt authentication request for a user.- Parameters:
token- The unique token for this userclientAddress- the address of the client making the request
-
-
Method Details