|
||||||||||
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.RsaToken
public class RsaToken
RsaToken should be used with SecurityPolicy submission namespace (2005/07) and a namespace of http://schemas.microsoft.com/ws/2005/07/securitypolicy. It should be replaced with KeyValueToken for SecurityPolicy 1.2
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator |
---|
SecurityAssertionValidator.AssertionFitness |
Field Summary |
---|
Constructor Summary | |
---|---|
RsaToken()
Creates a new instance of RsaToken |
|
RsaToken(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 | |
---|---|
java.lang.String |
getIncludeToken()
returns the token inclusion value |
SecurityPolicyVersion |
getSecurityPolicyVersion()
|
java.lang.String |
getTokenId()
Unique Id assigned to the token. |
void |
setIncludeToken(java.lang.String type)
|
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 RsaToken()
public RsaToken(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 SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidator
validate
in interface SecurityAssertionValidator
public java.lang.String getIncludeToken()
Token
getIncludeToken
in interface Token
ONCE
,NEVER
,ALWAYS_TO_RECIPIENT
,ALWAYS
public void setIncludeToken(java.lang.String type)
public java.lang.String getTokenId()
Token
getTokenId
in interface Token
public SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion
in interface Token
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |