|
||||||||||
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.UsernameToken
public class UsernameToken
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator |
---|
SecurityAssertionValidator.AssertionFitness |
Field Summary |
---|
Constructor Summary | |
---|---|
UsernameToken()
Creates a new instance of UsernameToken |
|
UsernameToken(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.Object |
clone()
|
Claims |
getClaims()
|
java.lang.String |
getIncludeToken()
returns the token inclusion value |
Issuer |
getIssuer()
returns the issuer for the Username token. |
IssuerName |
getIssuerName()
|
SecurityPolicyVersion |
getSecurityPolicyVersion()
|
java.lang.String |
getTokenId()
Unique Id assigned to the token. |
java.lang.String |
getType()
UsernameToken version |
boolean |
hasPassword()
returns true is password needs to be used in the UsernameToken Header sent in the message. |
void |
setIncludeToken(java.lang.String type)
|
void |
setTokenId(java.lang.String _id)
|
void |
setType(java.lang.String type)
|
boolean |
useHashPassword()
|
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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UsernameToken()
public UsernameToken(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 setType(java.lang.String type)
public java.lang.String getType()
UserNameToken
getType
in interface UserNameToken
public java.lang.String getTokenId()
Token
getTokenId
in interface Token
public void setTokenId(java.lang.String _id)
public java.lang.String getIncludeToken()
Token
getIncludeToken
in interface Token
ONCE
,NEVER
,ALWAYS_TO_RECIPIENT
,ALWAYS
public void setIncludeToken(java.lang.String type)
public Issuer getIssuer()
UserNameToken
getIssuer
in interface UserNameToken
public IssuerName getIssuerName()
getIssuerName
in interface UserNameToken
public Claims getClaims()
getClaims
in interface UserNameToken
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidator
validate
in interface SecurityAssertionValidator
public boolean hasPassword()
UserNameToken
hasPassword
in interface UserNameToken
public boolean useHashPassword()
useHashPassword
in interface UserNameToken
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion
in interface Token
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |