org.apache.wss4j.policy.model
Class AbstractToken
java.lang.Object
org.apache.wss4j.policy.model.AbstractSecurityAssertion
org.apache.wss4j.policy.model.AbstractToken
- All Implemented Interfaces:
- org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion
- Direct Known Subclasses:
- HttpsToken, IssuedToken, KerberosToken, KeyValueToken, RelToken, SamlToken, SecurityContextToken, SpnegoContextToken, UsernameToken, X509Token
public abstract class AbstractToken
- extends AbstractSecurityAssertion
- implements org.apache.neethi.PolicyContainingAssertion
| Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion |
clone, cloneAssertion, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptional |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.neethi.Assertion |
getName, isIgnorable, isOptional |
| Methods inherited from interface org.apache.neethi.PolicyComponent |
equal, getType |
AbstractToken
protected AbstractToken(SPConstants.SPVersion version,
SPConstants.IncludeTokenType includeTokenType,
Element issuer,
String issuerName,
Element claims,
org.apache.neethi.Policy nestedPolicy)
getPolicy
public org.apache.neethi.Policy getPolicy()
- Specified by:
getPolicy in interface org.apache.neethi.PolicyContainingAssertion
normalize
public org.apache.neethi.PolicyComponent normalize()
- Specified by:
normalize in interface org.apache.neethi.Assertion- Overrides:
normalize in class AbstractSecurityAssertion
getIncludeTokenType
public SPConstants.IncludeTokenType getIncludeTokenType()
setIncludeTokenType
protected void setIncludeTokenType(SPConstants.IncludeTokenType includeTokenType)
getIssuer
public Element getIssuer()
setIssuer
protected void setIssuer(Element issuer)
getIssuerName
public String getIssuerName()
setIssuerName
protected void setIssuerName(String issuerName)
getClaims
public Element getClaims()
setClaims
protected void setClaims(Element claims)
getDerivedKeys
public AbstractToken.DerivedKeys getDerivedKeys()
setDerivedKeys
protected void setDerivedKeys(AbstractToken.DerivedKeys derivedKeys)
getParentAssertion
public AbstractSecurityAssertion getParentAssertion()
setParentAssertion
public void setParentAssertion(AbstractSecurityAssertion parentAssertion)
serialize
public void serialize(XMLStreamWriter writer)
throws XMLStreamException
- Specified by:
serialize in interface org.apache.neethi.Assertion- Specified by:
serialize in interface org.apache.neethi.PolicyComponent
- Throws:
XMLStreamException
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.