public class SamlSecurityTokenImpl extends org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityToken implements SamlSecurityToken
| Constructor and Description |
|---|
SamlSecurityTokenImpl(SamlAssertionWrapper samlAssertionWrapper,
org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken,
WSInboundSecurityContext wsInboundSecurityContext,
Crypto crypto,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier,
WSSSecurityProperties securityProperties) |
SamlSecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext,
String id,
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier,
WSSSecurityProperties securityProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected Key |
getKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
Principal |
getPrincipal() |
protected PublicKey |
getPubKey(String algorithmURI,
org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage,
String correlationID) |
PublicKey |
getPublicKey() |
SamlAssertionWrapper |
getSamlAssertionWrapper() |
Subject |
getSubject() |
org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType |
getTokenType() |
X509Certificate[] |
getX509Certificates() |
boolean |
isAsymmetric() |
void |
verify() |
addTokenUsage, addWrappedToken, getElementPath, getKeyIdentifier, getKeyWrappingToken, getPublicKey, getSecretKey, getWrappedTokens, getXMLSecEvent, isIncludedInMessage, setElementPath, setKeyWrappingToken, setXMLSecEventgetId, getSecretKey, getSha1Identifier, getTokenUsages, setAsymmetric, setPublicKey, setSecretKey, setSha1Identifier, setX509Certificatespublic SamlSecurityTokenImpl(WSInboundSecurityContext wsInboundSecurityContext, String id, org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier, WSSSecurityProperties securityProperties) throws WSSecurityException
WSSecurityExceptionpublic SamlSecurityTokenImpl(SamlAssertionWrapper samlAssertionWrapper, org.apache.xml.security.stax.securityToken.InboundSecurityToken subjectSecurityToken, WSInboundSecurityContext wsInboundSecurityContext, Crypto crypto, org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier keyIdentifier, WSSSecurityProperties securityProperties)
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.XMLSecurityExceptionprotected 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.XMLSecurityExceptionprotected PublicKey getPubKey(String algorithmURI, org.apache.xml.security.stax.ext.XMLSecurityConstants.AlgorithmUsage algorithmUsage, String correlationID) throws org.apache.xml.security.exceptions.XMLSecurityException
getPubKey in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic PublicKey getPublicKey() throws org.apache.xml.security.exceptions.XMLSecurityException
getPublicKey in interface org.apache.xml.security.stax.securityToken.SecurityTokengetPublicKey in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic X509Certificate[] getX509Certificates() throws org.apache.xml.security.exceptions.XMLSecurityException
getX509Certificates in interface org.apache.xml.security.stax.securityToken.SecurityTokengetX509Certificates in class org.apache.xml.security.stax.impl.securityToken.AbstractSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic void verify()
throws org.apache.xml.security.exceptions.XMLSecurityException
verify in interface org.apache.xml.security.stax.securityToken.InboundSecurityTokenverify in class org.apache.xml.security.stax.impl.securityToken.AbstractInboundSecurityTokenorg.apache.xml.security.exceptions.XMLSecurityExceptionpublic org.apache.xml.security.stax.securityToken.SecurityTokenConstants.TokenType getTokenType()
getTokenType in interface org.apache.xml.security.stax.securityToken.SecurityTokenpublic Subject getSubject() throws WSSecurityException
getSubject in interface SubjectAndPrincipalSecurityTokenWSSecurityExceptionpublic Principal getPrincipal() throws WSSecurityException
getPrincipal in interface SubjectAndPrincipalSecurityTokenWSSecurityExceptionpublic SamlAssertionWrapper getSamlAssertionWrapper()
getSamlAssertionWrapper in interface SamlSecurityTokenCopyright © 2018 JBoss by Red Hat. All rights reserved.