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() |
io.getlime.security.powerauth.http.PowerAuthHttpHeader |
getHttpHeader()
Get parsed PowerAuth HTTP header.
|
String |
getNonce()
Get token related nonce.
|
Object |
getPrincipal() |
String |
getTimestamp()
Get token creation timestamp.
|
String |
getTokenDigest()
Get token digest.
|
String |
getTokenId()
Get token ID.
|
String |
getVersion()
Get PowerAuth protocol version.
|
void |
setHttpHeader(io.getlime.security.powerauth.http.PowerAuthHttpHeader httpHeader)
Set parsed PowerAuth HTTP header.
|
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.
|
void |
setVersion(String version)
Set PowerAuth protocol version.
|
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.public String getVersion()
getVersion in interface PowerAuthTokenAuthenticationpublic void setVersion(String version)
setVersion in interface PowerAuthTokenAuthenticationversion - PowerAuth protocol version.public io.getlime.security.powerauth.http.PowerAuthHttpHeader getHttpHeader()
getHttpHeader in interface PowerAuthTokenAuthenticationpublic void setHttpHeader(io.getlime.security.powerauth.http.PowerAuthHttpHeader httpHeader)
setHttpHeader in interface PowerAuthTokenAuthenticationhttpHeader - PowerAuth HTTP header.Copyright © 2017–2020 Wultra s.r.o.. All rights reserved.