public class UsernameToken extends AbstractToken
Modifier and Type | Class and Description |
---|---|
static class |
UsernameToken.PasswordType |
static class |
UsernameToken.UsernameTokenType |
AbstractToken.DerivedKeys
Constructor and Description |
---|
UsernameToken(SPConstants.SPVersion version,
SPConstants.IncludeTokenType includeTokenType,
Element issuer,
String issuerName,
Element claims,
org.apache.neethi.Policy nestedPolicy) |
Modifier and Type | Method and Description |
---|---|
protected AbstractSecurityAssertion |
cloneAssertion(org.apache.neethi.Policy nestedPolicy) |
boolean |
equals(Object object) |
QName |
getName() |
UsernameToken.PasswordType |
getPasswordType() |
UsernameToken.UsernameTokenType |
getUsernameTokenType() |
int |
hashCode() |
boolean |
isCreated() |
boolean |
isNonce() |
protected void |
parseNestedPolicy(org.apache.neethi.Policy nestedPolicy,
UsernameToken usernameToken) |
protected void |
setCreated(boolean created) |
protected void |
setNonce(boolean nonce) |
protected void |
setPasswordType(UsernameToken.PasswordType passwordType) |
protected void |
setUsernameTokenType(UsernameToken.UsernameTokenType usernameTokenType) |
getClaims, getDerivedKeys, getIncludeTokenType, getIssuer, getIssuerName, getParentAssertion, getPolicy, normalize, serialize, setClaims, setDerivedKeys, setIncludeTokenType, setIssuer, setIssuerName, setParentAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptional
public UsernameToken(SPConstants.SPVersion version, SPConstants.IncludeTokenType includeTokenType, Element issuer, String issuerName, Element claims, org.apache.neethi.Policy nestedPolicy)
public QName getName()
public boolean equals(Object object)
equals
in class AbstractToken
public int hashCode()
hashCode
in class AbstractToken
protected AbstractSecurityAssertion cloneAssertion(org.apache.neethi.Policy nestedPolicy)
cloneAssertion
in class AbstractSecurityAssertion
protected void parseNestedPolicy(org.apache.neethi.Policy nestedPolicy, UsernameToken usernameToken)
public UsernameToken.PasswordType getPasswordType()
protected void setPasswordType(UsernameToken.PasswordType passwordType)
public boolean isCreated()
protected void setCreated(boolean created)
public boolean isNonce()
protected void setNonce(boolean nonce)
public UsernameToken.UsernameTokenType getUsernameTokenType()
protected void setUsernameTokenType(UsernameToken.UsernameTokenType usernameTokenType)
Copyright © 2017 JBoss by Red Hat. All rights reserved.