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() |
String |
getKerberosTokenValueType() |
protected Key |
getKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
Principal |
getPrincipal() |
Subject |
getSubject() |
protected KerberosTokenDecoder |
getTGT() |
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType |
getTokenType() |
boolean |
isAsymmetric() |
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 KerberosTokenDecoder getTGT() 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
Copyright © 2016 JBoss by Red Hat. All rights reserved.