public class RampartPolicyData extends Object
Constructor and Description |
---|
RampartPolicyData() |
public String getWebServiceSecurityPolicyNS()
public void setWebServiceSecurityPolicyNS(String webServiceSecurityPolicyNS)
public List<SupportingPolicyData> getSupportingPolicyData()
public void addSupportingPolicyData(SupportingPolicyData supportingPolicyData)
public boolean isSignBodyOptional()
public void setSignBodyOptional(boolean signBodyOptional)
public boolean isEncryptBodyOptional()
public void setEncryptBodyOptional(boolean encryptBodyOptional)
public boolean isSignAttachmentsOptional()
public void setSignAttachmentsOptional(boolean signAttachmentsOptional)
public boolean isEncryptAttachmentsOptional()
public void setEncryptAttachmentsOptional(boolean encryptAttachmentsOptional)
public boolean isSymmetricBinding()
public void setSymmetricBinding(boolean symmetricBinding)
symmetricBinding
- The symmetricBinding to set.public boolean isAsymmetricBinding()
public void setAsymmetricBinding(boolean asymmetricBinding)
asymmetricBinding
- boolean value indicating whether a Asymmetric Bindingpublic boolean isEntireHeadersAndBodySignatures()
public void setEntireHeadersAndBodySignatures(boolean entireHeaderAndBodySignatures)
entireHeaderAndBodySignatures
- The entireHeaderAndBodySignatures to set.public boolean isIncludeTimestamp()
public void setIncludeTimestamp(boolean includeTimestamp)
includeTimestamp
- The includeTimestamp to set.public boolean isIncludeTimestampOptional()
public void setIncludeTimestampOptional(boolean includeTimestampOptional)
public String getLayout()
public void setLayout(String layout)
layout
- The layout to set.public String getProtectionOrder()
public void setProtectionOrder(String protectionOrder)
protectionOrder
- The protectionOrder to set.public boolean isSignatureProtection()
public void setSignatureProtection(boolean signatureProtection)
signatureProtection
- The signatureProtection to set.public boolean isTokenProtection()
public void setTokenProtection(boolean tokenProtection)
tokenProtection
- The tokenProtection to set.public boolean isSignatureConfirmation()
public void setSignatureConfirmation(boolean signatureConfirmation)
signatureConfirmation
- The signatureConfirmation to set.public List<String> getEncryptedElements()
public void setEncryptedElements(String encElement)
encElement
- The encrypted Element (XPath) to set.public void setRequiredElements(String reqElement)
reqElement
- The Required Element (XPath) to set.public List<String> getContentEncryptedElements()
public void setContentEncryptedElements(String encElement)
encElement
- The encrypted Element (XPath) to set.public List<org.apache.ws.security.WSEncryptionPart> getEncryptedParts()
public void setEncryptedParts(String namespace, String element)
namespace
- The namespace of the part.element
- The part's element name.public void setEncryptedParts(String namespace, String element, String modifier)
namespace
- The namespace of the part.element
- The part's element name.modifier
- The type of encryption
Element,Content,Headerpublic boolean isEncryptBody()
public void setEncryptBody(boolean encryptBody)
encryptBody
- The encryptBody to set.public boolean isSignBody()
public void setSignBody(boolean signBody)
signBody
- The signBody to set.public boolean isSignAttachments()
public void setSignAttachments(boolean signAttachments)
signAttachments
- The signAttachments to set.public boolean isEncryptAttachments()
public void setEncryptAttachments(boolean encryptAttachments)
encryptAttachments
- The encryptAttachments to set.public void setSignedElements(String sigElement)
sigElement
- The signed Element (XPath) to set.public List<org.apache.ws.security.WSEncryptionPart> getSignedParts()
public void addSignedPart(String namespace, String element)
namespace
- The namespace of the part.element
- The part's element name.public void addSignedPart(org.apache.ws.security.WSEncryptionPart part)
public void setSignedParts(List<org.apache.ws.security.WSEncryptionPart> signedParts)
public void setSupportingTokens(SupportingToken suppTokens) throws WSSPolicyException
WSSPolicyException
public RampartConfig getRampartConfig()
public Token getEncryptionToken()
public void setEncryptionToken(Token encryptionToken)
encryptionToken
- The encryptionToken to set.public Token getInitiatorToken()
public void setInitiatorToken(Token initiatorToken)
initiatorToken
- The initiatorToken to set.public Token getTransportToken()
public void setTransportToken(Token transportToken)
transportToken
- The TransportToken to set.public Token getRecipientToken()
public void setRecipientToken(Token recipientToken)
recipientToken
- The recipientToken to set.public void setProtectionToken(Token protectionToken)
public Token getSignatureToken()
public void setSignatureToken(Token signatureToken)
signatureToken
- The signatureToken to set.public SupportingToken getSignedEndorsingSupportingTokens()
public void setSignedEndorsingSupportingTokens(SupportingToken signedEndorsingSupportingTokens)
signedEndorsingSupportingTokens
- The signedEndorsingSupportingToken to set.public SupportingToken getSignedEndorsingEncryptedSupportingTokens()
public void setSignedEndorsingEncryptedSupportingTokens(SupportingToken signedEndorsingEncryptedSupportingTokens)
signedEndorsingEncryptedSupportingTokens
- The signedEndorsingEncryptedSupportingToken to set.public SupportingToken getSignedSupportingTokens()
public void setSignedSupportingTokens(SupportingToken signedSupportingTokens)
signedSupportingTokens
- The signedSupportingToken to set.public SupportingToken getSignedEncryptedSupportingTokens()
public void setSignedEncryptedSupportingTokens(SupportingToken signedEncryptedSupportingTokens)
signedEncryptedSupportingTokens
- The signedEncryptedSupportingToken to set.public List<SupportingToken> getSupportingTokensList()
public SupportingToken getSupportingTokens()
public void setEncryptedSupportingTokens(SupportingToken encryptedSupportingTokens)
encryptedSupportingTokens
- The encryptedSupportingToken to set.public SupportingToken getEncryptedSupportingTokens()
public void setEndorsingSupportingTokens(SupportingToken endorsingSupportingTokens)
endorsingSupportingTokens
- The endorsingSupportingToken to set.public SupportingToken getEndorsingSupportingTokens()
public void setEndorsingEncryptedSupportingTokens(SupportingToken endorsingEncryptedSupportingTokens)
endorsingEncryptedSupportingTokens
- The endorsingEncryptedSupportingToken to set.public SupportingToken getEndorsingEncryptedSupportingTokens()
public AlgorithmSuite getAlgorithmSuite()
public void setAlgorithmSuite(AlgorithmSuite algorithmSuite)
algorithmSuite
- The algorithmSuite to set.public Trust10 getTrust10()
public void setTrust10(Trust10 trust10)
trust10
- The trust10 to set.public void setRampartConfig(RampartConfig rampartConfig)
rampartConfig
- The rampartConfig to set.public boolean isTransportBinding()
public void setTransportBinding(boolean transportBinding)
transportBinding
- The transportBinding to set.public void setSupporttingtokenId(Token token, String id, int type) throws RampartException
token
- id
- RampartException
public String getSupportingTokenID(Token token, int type) throws RampartException
RampartException
public Wss10 getWss10()
public void setWss10(Wss10 wss10)
public Wss11 getWss11()
public void setWss11(Wss11 wss11)
public org.apache.neethi.Policy getIssuerPolicy()
public void setMTOMAssertion(org.apache.axis2.policy.model.MTOMAssertion mtomAssertion)
public org.apache.axis2.policy.model.MTOMAssertion getMTOMAssertion()
public boolean isSignAllHeaders()
public void setSignAllHeaders(boolean signAllHeaders)
public boolean isMTOMSerialize()
public OptimizePartsConfig getOptimizePartsConfig()
Copyright © Apache Software Foundation. All Rights Reserved.