public class TransportBinding extends com.sun.xml.ws.policy.PolicyAssertion implements TransportBinding, SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitnessENCRYPT_SIGN, SIGN_ENCRYPT| Constructor and Description |
|---|
TransportBinding()
Creates a new instance of TransportBinding
|
TransportBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransportToken(Token token) |
AlgorithmSuite |
getAlgorithmSuite()
returns the
AlgorithmSuite assertions defined in the policy. |
MessageLayout |
getLayout()
returns the Layout
MessageLayoutof the SecurityHeader. |
String |
getProtectionOrder()
gets data protection order should be one one of Binding.SIGN_ENCRYPT or Binding.ENCRYPT_SIGN
|
SecurityPolicyVersion |
getSecurityPolicyVersion() |
boolean |
getSignatureProtection() |
boolean |
getTokenProtection() |
Token |
getTransportToken()
get the Transport token , eg: HttpsToken
|
void |
includeTimeStamp(boolean value) |
boolean |
isDisableTimestampSigning() |
boolean |
isIncludeTimeStamp()
returns true if TimeStamp property is enabled in this binding
|
boolean |
isSignContent()
returns true if body and header content only has to be signed, false if entire body and header has to be signed.
|
void |
setAlgorithmSuite(AlgorithmSuite algSuite) |
void |
setLayout(MessageLayout layout) |
void |
setProtectionOrder(String order) |
void |
setSignatureProtection(boolean token) |
void |
setSignContent(boolean contentOnly) |
void |
setTokenProtection(boolean token) |
SecurityAssertionValidator.AssertionFitness |
validate(boolean isServer)
returns true if all the assertions embeeded under a SecurityPolicy
assertion are valid and supported by the implementation.
|
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toStringpublic TransportBinding()
public TransportBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative)
public void addTransportToken(Token token)
public Token getTransportToken()
TransportBindinggetTransportToken in interface TransportBindingpublic void setAlgorithmSuite(AlgorithmSuite algSuite)
public AlgorithmSuite getAlgorithmSuite()
BindingAlgorithmSuite assertions defined in the policy.getAlgorithmSuite in interface BindingAlgorithmSuitepublic void includeTimeStamp(boolean value)
public boolean isIncludeTimeStamp()
BindingisIncludeTimeStamp in interface Bindingpublic void setLayout(MessageLayout layout)
public MessageLayout getLayout()
BindingMessageLayoutof the SecurityHeader.getLayout in interface BindingMessageLayoutpublic boolean isSignContent()
BindingisSignContent in interface Bindingpublic void setSignContent(boolean contentOnly)
public void setProtectionOrder(String order)
public String getProtectionOrder()
BindinggetProtectionOrder in interface Bindingpublic void setTokenProtection(boolean token)
public void setSignatureProtection(boolean token)
public boolean getTokenProtection()
getTokenProtection in interface Bindingpublic boolean getSignatureProtection()
getSignatureProtection in interface Bindingpublic SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidatorvalidate in interface SecurityAssertionValidatorpublic boolean isDisableTimestampSigning()
isDisableTimestampSigning in interface Bindingpublic SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion in interface BindingCopyright © 2005–2018 Oracle Corporation. All rights reserved.