Class KerberosClientSecurityToken
- java.lang.Object
-
- org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
-
- org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
-
- org.apache.wss4j.stax.impl.securityToken.KerberosClientSecurityToken
-
- All Implemented Interfaces:
org.apache.xml.security.stax.securityToken.OutboundSecurityToken
,org.apache.xml.security.stax.securityToken.SecurityToken
public class KerberosClientSecurityToken extends org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
-
-
Constructor Summary
Constructors Constructor Description KerberosClientSecurityToken(byte[] ticket, Key secretKey, String id)
KerberosClientSecurityToken(CallbackHandler callbackHandler, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Key
getSecretKey(String algorithmURI)
byte[]
getTicket()
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
addWrappedToken, getCustomTokenReference, getKeyIdentifier, getKeyWrappingToken, getProcessor, getTokenType, getWrappedTokens, setCustomTokenReference, setKeyWrappingToken, setProcessor, setTokenType
-
Methods inherited from class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityToken
addTokenUsage, getId, getPublicKey, getSecretKey, getSha1Identifier, getTokenUsages, getX509Certificates, isAsymmetric, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificates
-
-
-
-
Constructor Detail
-
KerberosClientSecurityToken
public KerberosClientSecurityToken(byte[] ticket, Key secretKey, String id)
-
KerberosClientSecurityToken
public KerberosClientSecurityToken(CallbackHandler callbackHandler, String id)
-
-
Method Detail
-
getSecretKey
public Key getSecretKey(String algorithmURI) throws org.apache.xml.security.exceptions.XMLSecurityException
- Specified by:
getSecretKey
in interfaceorg.apache.xml.security.stax.securityToken.OutboundSecurityToken
- Overrides:
getSecretKey
in classorg.apache.xml.security.stax.impl.securityToken.GenericOutboundSecurityToken
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
getTicket
public byte[] getTicket() throws org.apache.xml.security.exceptions.XMLSecurityException
- Throws:
org.apache.xml.security.exceptions.XMLSecurityException
-
-