|
||||||||||
| 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(AssertionData name,
Collection<PolicyAssertion> nestedAssertions,
AssertionSet nestedAlternative)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Claims |
getClaims()
|
String |
getIncludeToken()
returns the token inclusion value |
Issuer |
getIssuer()
returns the issuer for the Username token. |
IssuerName |
getIssuerName()
|
SecurityPolicyVersion |
getSecurityPolicyVersion()
|
String |
getTokenId()
Unique Id assigned to the token. |
Set |
getTokenRefernceType()
|
String |
getType()
UsernameToken version |
boolean |
hasPassword()
returns true is password needs to be used in the UsernameToken Header sent in the message. |
boolean |
isRequireDerivedKeys()
|
void |
setIncludeToken(String type)
|
void |
setTokenId(String _id)
|
void |
setType(String type)
|
boolean |
useCreated()
returns true is Created needs to be used in the UsernameToken Header sent in the message. |
boolean |
useHashPassword()
|
boolean |
useNonce()
returns true is Nonce needs to be used in the UsernameToken Header sent in the message. |
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, getImplementation, 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(AssertionData name,
Collection<PolicyAssertion> nestedAssertions,
AssertionSet nestedAlternative)
| Method Detail |
|---|
public void setType(String type)
public String getType()
UserNameToken
getType in interface UserNameTokenpublic String getTokenId()
Token
getTokenId in interface Tokenpublic void setTokenId(String _id)
public String getIncludeToken()
Token
getIncludeToken in interface TokenONCE,NEVER,ALWAYS_TO_RECIPIENT,ALWAYSpublic void setIncludeToken(String type)
public Issuer getIssuer()
UserNameToken
getIssuer in interface UserNameTokenpublic IssuerName getIssuerName()
getIssuerName in interface UserNameTokenpublic Claims getClaims()
getClaims in interface UserNameTokenpublic SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidator
validate in interface SecurityAssertionValidatorpublic boolean hasPassword()
UserNameToken
hasPassword in interface UserNameTokenpublic boolean useHashPassword()
useHashPassword in interface UserNameTokenpublic boolean isRequireDerivedKeys()
isRequireDerivedKeys in interface UserNameToken
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic SecurityPolicyVersion getSecurityPolicyVersion()
getSecurityPolicyVersion in interface Tokenpublic Set getTokenRefernceType()
getTokenRefernceType in interface UserNameTokenpublic boolean useNonce()
UserNameToken
useNonce in interface UserNameTokenpublic boolean useCreated()
UserNameToken
useCreated in interface UserNameToken
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||