|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.TransportBinding
public class TransportBinding
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator |
---|
SecurityAssertionValidator.AssertionFitness |
Field Summary |
---|
Fields inherited from interface com.sun.xml.ws.security.policy.Binding |
---|
ENCRYPT_SIGN, SIGN_ENCRYPT |
Constructor Summary | |
---|---|
TransportBinding()
Creates a new instance of TransportBinding |
|
TransportBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative)
|
Method Summary | |
---|---|
void |
addTransportToken(Token token)
|
AlgorithmSuite |
getAlgorithmSuite()
returns the AlgorithmSuite assertions defined in the policy. |
MessageLayout |
getLayout()
returns the Layout MessageLayout of the SecurityHeader. |
java.lang.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(java.lang.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. |
Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion |
---|
equals, getAttributes, getAttributesSet, getAttributeValue, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TransportBinding()
public TransportBinding(com.sun.xml.ws.policy.sourcemodel.AssertionData name, java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
Method Detail |
---|
public void addTransportToken(Token token)
public Token getTransportToken()
TransportBinding
getTransportToken
in interface TransportBinding
public void setAlgorithmSuite(AlgorithmSuite algSuite)
public AlgorithmSuite getAlgorithmSuite()
Binding
AlgorithmSuite
assertions defined in the policy.
getAlgorithmSuite
in interface Binding
AlgorithmSuite
public void includeTimeStamp(boolean value)
public boolean isIncludeTimeStamp()
Binding
isIncludeTimeStamp
in interface Binding
public void setLayout(MessageLayout layout)
public MessageLayout getLayout()
Binding
MessageLayout
of the SecurityHeader.
getLayout
in interface Binding
MessageLayout
public boolean isSignContent()
Binding
isSignContent
in interface Binding
public void setSignContent(boolean contentOnly)
public void setProtectionOrder(java.lang.String order)
public java.lang.String getProtectionOrder()
Binding
getProtectionOrder
in interface Binding
public void setTokenProtection(boolean token)
public void setSignatureProtection(boolean token)
public boolean getTokenProtection()
getTokenProtection
in interface Binding
public boolean getSignatureProtection()
getSignatureProtection
in interface Binding
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidator
validate
in interface SecurityAssertionValidator
public boolean isDisableTimestampSigning()
isDisableTimestampSigning
in interface Binding
public SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion
in interface Binding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |