public class KerberosServiceSecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken implements KerberosServiceSecurityToken
| Constructor and Description |
|---|
KerberosServiceSecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext,
CallbackHandler callbackHandler,
byte[] binaryContent,
String kerberosTokenValueType,
String id,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBinaryContent() |
KerberosTokenDecoder |
getKerberosTokenDecoder()
Get the KerberosTokenDecoder instance used to extract a session key from the received Kerberos
token.
|
String |
getKerberosTokenValueType() |
protected Key |
getKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
Principal |
getPrincipal() |
Subject |
getSubject() |
protected byte[] |
getTGTSessionKey() |
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType |
getTokenType() |
boolean |
isAsymmetric() |
void |
setKerberosTokenDecoder(KerberosTokenDecoder kerberosTokenDecoder)
Set the KerberosTokenDecoder instance used to extract a session key from the received Kerberos
token.
|
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getKeyWrappingToken, getPubKey, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEvent, verifygetId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificatespublic KerberosServiceSecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext, CallbackHandler callbackHandler, byte[] binaryContent, String kerberosTokenValueType, String id, org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier)
public boolean isAsymmetric()
throws org.apache.xml.security.exceptions.XMLSecurityException
isAsymmetric in interface org.apache.xml.security.stax.securityToken.SecurityTokenisAsymmetric in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
getTokenType in interface org.apache.xml.security.stax.securityToken.SecurityTokenprotected byte[] getTGTSessionKey()
throws WSSecurityException
WSSecurityExceptionprotected Key getKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID) throws org.apache.xml.security.exceptions.XMLSecurityException
getKey in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic byte[] getBinaryContent()
getBinaryContent in interface KerberosServiceSecurityTokenpublic String getKerberosTokenValueType()
getKerberosTokenValueType in interface KerberosServiceSecurityTokenpublic Subject getSubject() throws WSSecurityException
getSubject in interface SubjectAndPrincipalSecurityTokenWSSecurityExceptionpublic Principal getPrincipal() throws WSSecurityException
getPrincipal in interface SubjectAndPrincipalSecurityTokenWSSecurityExceptionpublic KerberosTokenDecoder getKerberosTokenDecoder()
public void setKerberosTokenDecoder(KerberosTokenDecoder kerberosTokenDecoder)
kerberosTokenDecoder - the KerberosTokenDecoder instance used to extract a session keyCopyright © 2018 JBoss by Red Hat. All rights reserved.