public class PKIAuthenticationToken extends BSTAuthenticationToken
| Modifier and Type | Field and Description |
|---|---|
static String |
BST_X509_LN |
static String |
PKI_TOKEN_VALUE_TYPE |
BASE64_ENCODING, BST_CREDENTIALS, BST_LN, BST_NS, BST_PRINCIPAL, BST_REALM, NEWLINE, TOKEN_VALUE_SEPARATOR, tokenId, tokenValueTypeALL_REALM, credentials, DEFAULT_REALM, principal, realm| Constructor and Description |
|---|
PKIAuthenticationToken(Object principal,
byte[] certificates,
String realm) |
PKIAuthenticationToken(Object principal,
String encodedCerts,
String realm) |
PKIAuthenticationToken(Principal principal,
byte[] certificates) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCertificate() |
String |
getCredentials() |
String |
getDn() |
String |
toString() |
createBinarySecurityTokenType, getBinarySecurityToken, getCredentialsAsXMLString, getEncodedCredentials, parse, parseComponent, setTokenId, setTokenValueTypegetPrincipal, getRealm, isUseWssSts, setCredentials, setUseWssStspublic static final String BST_X509_LN
public static final String PKI_TOKEN_VALUE_TYPE
public PKIAuthenticationToken(Principal principal, byte[] certificates)
public PKIAuthenticationToken(Object principal, String encodedCerts, String realm)
public String getDn()
public byte[] getCertificate()
public String getCredentials()
getCredentials in interface org.apache.shiro.authc.AuthenticationTokengetCredentials in class BaseAuthenticationTokenThis work is licensed under a Creative Commons Attribution 4.0 International License.