public class AuthenticationResponse extends Object
Modifier and Type | Field and Description |
---|---|
private long |
expiration |
private String |
identity |
private String |
issuer |
private String |
username |
Constructor and Description |
---|
AuthenticationResponse(String identity,
String username,
long expiration,
String issuer)
Creates an authentication response.
|
Modifier and Type | Method and Description |
---|---|
long |
getExpiration()
Returns the expiration of a given authentication in milliseconds.
|
String |
getIdentity() |
String |
getIssuer() |
String |
getUsername() |
private final String identity
private final String username
private final long expiration
private final String issuer
public AuthenticationResponse(String identity, String username, long expiration, String issuer)
identity
- The user identityusername
- The usernameexpiration
- The expiration in millisecondsissuer
- The issuer of the tokenCopyright © 2016 Apache NiFi Project. All rights reserved.