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, verify
getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
public 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.SecurityToken
isAsymmetric
in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
getTokenType
in interface org.apache.xml.security.stax.securityToken.SecurityToken
protected byte[] getTGTSessionKey() throws WSSecurityException
WSSecurityException
protected 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.AbstractInboundSecurityToken
org.apache.xml.security.exceptions.XMLSecurityException
public byte[] getBinaryContent()
getBinaryContent
in interface KerberosServiceSecurityToken
public String getKerberosTokenValueType()
getKerberosTokenValueType
in interface KerberosServiceSecurityToken
public Subject getSubject() throws WSSecurityException
getSubject
in interface SubjectAndPrincipalSecurityToken
WSSecurityException
public Principal getPrincipal() throws WSSecurityException
getPrincipal
in interface SubjectAndPrincipalSecurityToken
WSSecurityException
public KerberosTokenDecoder getKerberosTokenDecoder()
public void setKerberosTokenDecoder(KerberosTokenDecoder kerberosTokenDecoder)
kerberosTokenDecoder
- the KerberosTokenDecoder instance used to extract a session keyCopyright © 2020 JBoss by Red Hat. All rights reserved.