public abstract class AbstractStaxBindingHandler extends AbstractCommonBindingHandler
Modifier and Type | Field and Description |
---|---|
protected Set<org.apache.xml.security.stax.ext.SecurePart> |
encryptedTokensList |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
endEncSuppTokMap |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
endSuppTokMap |
protected org.apache.xml.security.stax.ext.OutboundSecurityContext |
outboundSecurityContext |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
sgndEndEncSuppTokMap |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
sgndEndSuppTokMap |
protected boolean |
signatureConfirmationAdded |
protected boolean |
timestampAdded |
message
Constructor and Description |
---|
AbstractStaxBindingHandler(WSSSecurityProperties properties,
org.apache.cxf.binding.soap.SoapMessage msg,
AbstractBinding binding,
org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.xml.security.stax.ext.SecurePart |
addIssuedToken(AbstractToken token,
SecurityToken secToken,
boolean signed,
boolean endorsing) |
protected org.apache.xml.security.stax.ext.SecurePart |
addKerberosToken(KerberosToken token,
boolean signed,
boolean endorsing,
boolean encrypting) |
protected org.apache.xml.security.stax.ext.SecurePart |
addSamlToken(SamlToken token,
boolean signed,
boolean endorsing) |
protected void |
addSignatureConfirmation(List<org.apache.xml.security.stax.ext.SecurePart> sigParts) |
protected void |
addSignatureParts(Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> tokenMap) |
protected void |
addSupportingTokens() |
protected org.apache.xml.security.stax.ext.SecurePart |
addUsernameToken(UsernameToken usernameToken) |
protected void |
configureLayout(org.apache.cxf.ws.policy.AssertionInfoMap aim) |
protected void |
configureSignature(AbstractToken token,
boolean attached) |
protected void |
configureTimestamp(org.apache.cxf.ws.policy.AssertionInfoMap aim) |
protected void |
enforceEncryptBeforeSigningWithSignedSAML() |
protected org.apache.xml.security.stax.securityToken.SecurityToken |
findInboundSecurityToken(org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event event) |
protected List<org.apache.xml.security.stax.ext.SecurePart> |
getEncryptedParts()
Identifies the portions of the message to be encrypted
|
protected org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier |
getKeyIdentifierType(AbstractToken token) |
protected WSSSecurityProperties |
getProperties() |
protected List<org.apache.xml.security.stax.ext.SecurePart> |
getSignedParts()
Identifies the portions of the message to be signed
|
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
handleSupportingTokens(Collection<org.apache.cxf.ws.policy.AssertionInfo> tokenAssertions,
boolean signed,
boolean endorse) |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
handleSupportingTokens(SupportingTokens suppTokens,
boolean signed,
boolean endorse) |
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> |
handleSupportingTokens(SupportingTokens suppTokens,
boolean signed,
boolean endorse,
Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> ret) |
protected void |
handleUsernameTokenSupportingToken(UsernameToken token,
boolean endorse,
boolean encryptedToken,
Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> ret) |
protected void |
prependSignatureToSC() |
protected void |
putCustomTokenAfterSignature() |
protected void |
removeSignatureIfSignedSAML() |
protected void |
storeSecurityToken(AbstractToken policyToken,
SecurityToken tok) |
assertAlgorithmSuite, assertPolicy, assertPolicy, assertToken, assertTokenWrapper, assertTrustProperties, assertWSSProperties, getAllAssertionsByLocalname, getMessage, getSecurityToken, getWss10, isRequestor, isTokenRequired, unassertPolicy, unassertPolicy
protected boolean timestampAdded
protected boolean signatureConfirmationAdded
protected Set<org.apache.xml.security.stax.ext.SecurePart> encryptedTokensList
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> endEncSuppTokMap
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> endSuppTokMap
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> sgndEndEncSuppTokMap
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> sgndEndSuppTokMap
protected final org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext
public AbstractStaxBindingHandler(WSSSecurityProperties properties, org.apache.cxf.binding.soap.SoapMessage msg, AbstractBinding binding, org.apache.xml.security.stax.ext.OutboundSecurityContext outboundSecurityContext)
protected org.apache.xml.security.stax.ext.SecurePart addUsernameToken(UsernameToken usernameToken)
protected org.apache.xml.security.stax.ext.SecurePart addKerberosToken(KerberosToken token, boolean signed, boolean endorsing, boolean encrypting) throws WSSecurityException
WSSecurityException
protected org.apache.xml.security.stax.ext.SecurePart addSamlToken(SamlToken token, boolean signed, boolean endorsing) throws WSSecurityException
WSSecurityException
protected org.apache.xml.security.stax.ext.SecurePart addIssuedToken(AbstractToken token, SecurityToken secToken, boolean signed, boolean endorsing)
protected void storeSecurityToken(AbstractToken policyToken, SecurityToken tok)
protected void configureTimestamp(org.apache.cxf.ws.policy.AssertionInfoMap aim)
protected void configureLayout(org.apache.cxf.ws.policy.AssertionInfoMap aim)
protected WSSSecurityProperties getProperties()
protected void configureSignature(AbstractToken token, boolean attached) throws WSSecurityException
WSSecurityException
protected org.apache.xml.security.stax.securityToken.SecurityTokenConstants.KeyIdentifier getKeyIdentifierType(AbstractToken token)
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> handleSupportingTokens(Collection<org.apache.cxf.ws.policy.AssertionInfo> tokenAssertions, boolean signed, boolean endorse) throws Exception
Exception
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> handleSupportingTokens(SupportingTokens suppTokens, boolean signed, boolean endorse) throws Exception
Exception
protected Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> handleSupportingTokens(SupportingTokens suppTokens, boolean signed, boolean endorse, Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> ret) throws Exception
Exception
protected void handleUsernameTokenSupportingToken(UsernameToken token, boolean endorse, boolean encryptedToken, Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> ret) throws Exception
Exception
protected void addSignatureParts(Map<AbstractToken,org.apache.xml.security.stax.ext.SecurePart> tokenMap)
protected void addSignatureConfirmation(List<org.apache.xml.security.stax.ext.SecurePart> sigParts)
protected List<org.apache.xml.security.stax.ext.SecurePart> getSignedParts() throws SOAPException
SOAPException
protected List<org.apache.xml.security.stax.ext.SecurePart> getEncryptedParts() throws SOAPException
SOAPException
protected org.apache.xml.security.stax.securityToken.SecurityToken findInboundSecurityToken(org.apache.xml.security.stax.securityEvent.SecurityEventConstants.Event event) throws org.apache.xml.security.exceptions.XMLSecurityException
org.apache.xml.security.exceptions.XMLSecurityException
protected void removeSignatureIfSignedSAML()
protected void prependSignatureToSC()
protected void enforceEncryptBeforeSigningWithSignedSAML()
protected void putCustomTokenAfterSignature()
Copyright © 2016 JBoss by Red Hat. All rights reserved.