Class Wss10
- java.lang.Object
-
- com.sun.xml.ws.policy.PolicyAssertion
-
- com.sun.xml.ws.security.impl.policy.Wss10
-
- All Implemented Interfaces:
SecurityAssertionValidator
,WSSAssertion
public class Wss10 extends PolicyAssertion implements WSSAssertion, SecurityAssertionValidator
- Author:
- [email protected]
-
-
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.WSSAssertion
MUST_SUPPORT_CLIENT_CHALLENGE, MUST_SUPPORT_ISSUED_TOKENS, MUST_SUPPORT_REF_KEYIDENTIFIER, MUST_SUPPORT_SERVER_CHALLENGE, MUSTSUPPORT_REF_ENCRYPTED_KEY, MUSTSUPPORT_REF_ISSUER_SERIAL, MUSTSUPPORT_REF_THUMBPRINT, REQUIRE_CLIENT_ENTROPY, REQUIRE_EMBEDDED_TOKEN_REF, REQUIRE_EXTERNAL_URI_REFERENCE, REQUIRE_SERVER_ENTROPY, REQUIRE_SIGNATURE_CONFIRMATION
-
-
Constructor Summary
Constructors Constructor Description Wss10()
Creates a new instance of WSSAssertionWss10(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRequiredProperty(String requirement)
Set<String>
getRequiredProperties()
List of WSS propertiesString
getType()
WSS versionSecurityAssertionValidator.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, getImplementation, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
-
-
-
Constructor Detail
-
Wss10
public Wss10()
Creates a new instance of WSSAssertion
-
Wss10
public Wss10(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
-
Method Detail
-
addRequiredProperty
public void addRequiredProperty(String requirement)
-
getRequiredProperties
public Set<String> getRequiredProperties()
Description copied from interface:WSSAssertion
List of WSS properties- Specified by:
getRequiredProperties
in interfaceWSSAssertion
- Returns:
Set
-
getType
public String getType()
Description copied from interface:WSSAssertion
WSS version- Specified by:
getType
in interfaceWSSAssertion
- Returns:
- 1.0
-
validate
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
Description copied from interface:SecurityAssertionValidator
returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.- Specified by:
validate
in interfaceSecurityAssertionValidator
-
-