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, tokenValueType
ALL_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, setTokenValueType
getPrincipal, getRealm, isUseWssSts, setCredentials, setUseWssSts
public 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.AuthenticationToken
getCredentials
in class BaseAuthenticationToken
This work is licensed under a Creative Commons Attribution 4.0 International License.