public class PowerAuthTokenAuthenticationImpl extends org.springframework.security.authentication.AbstractAuthenticationToken implements PowerAuthTokenAuthentication
PowerAuthTokenAuthentication interface, with Spring Security objects.| Constructor and Description |
|---|
PowerAuthTokenAuthenticationImpl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
String |
getNonce()
Get token related nonce.
|
Object |
getPrincipal() |
String |
getTimestamp()
Get token creation timestamp.
|
String |
getTokenDigest()
Get token digest.
|
String |
getTokenId()
Get token ID.
|
void |
setNonce(String nonce)
Set token related nonce.
|
void |
setTimestamp(String timestamp)
Set token creation timestamp.
|
void |
setTokenDigest(String tokenDigest)
Set token digest.
|
void |
setTokenId(String tokenId)
Set token ID.
|
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toStringpublic PowerAuthTokenAuthenticationImpl()
public Object getPrincipal()
getPrincipal in interface org.springframework.security.core.Authenticationpublic Object getCredentials()
getCredentials in interface org.springframework.security.core.Authenticationpublic String getTokenId()
getTokenId in interface PowerAuthTokenAuthenticationpublic void setTokenId(String tokenId)
setTokenId in interface PowerAuthTokenAuthenticationtokenId - Token ID.public String getTokenDigest()
getTokenDigest in interface PowerAuthTokenAuthenticationpublic void setTokenDigest(String tokenDigest)
setTokenDigest in interface PowerAuthTokenAuthenticationtokenDigest - Token digest.public String getNonce()
getNonce in interface PowerAuthTokenAuthenticationpublic void setNonce(String nonce)
setNonce in interface PowerAuthTokenAuthenticationnonce - Nonce.public String getTimestamp()
getTimestamp in interface PowerAuthTokenAuthenticationpublic void setTimestamp(String timestamp)
setTimestamp in interface PowerAuthTokenAuthenticationtimestamp - Token timestamp.Copyright © 2017–2018 Lime - HighTech Solutions Inc.. All rights reserved.