Package 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
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractToken(SPConstants.SPVersion version, SPConstants.IncludeTokenType includeTokenType, Element issuer, String issuerName, Element claims, org.apache.neethi.Policy nestedPolicy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.neethi.PolicyinthashCode()org.apache.neethi.PolicyComponentvoidserialize(XMLStreamWriter writer) protected voidprotected voidsetDerivedKeys(AbstractToken.DerivedKeys derivedKeys) protected voidsetIncludeTokenType(SPConstants.IncludeTokenType includeTokenType) protected voidprotected voidsetIssuerName(String issuerName) voidsetParentAssertion(AbstractSecurityAssertion parentAssertion) Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, cloneAssertion, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, serialize, setIgnorable, setOptionalMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.neethi.Assertion
getName, isIgnorable, isOptionalMethods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
-
Constructor Details
-
AbstractToken
protected AbstractToken(SPConstants.SPVersion version, SPConstants.IncludeTokenType includeTokenType, Element issuer, String issuerName, Element claims, org.apache.neethi.Policy nestedPolicy)
-
-
Method Details
-
getPolicy
public org.apache.neethi.Policy getPolicy()- Specified by:
getPolicyin interfaceorg.apache.neethi.PolicyContainingAssertion
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-
equals
- Overrides:
equalsin classAbstractSecurityAssertion
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSecurityAssertion
-
getIncludeTokenType
-
setIncludeTokenType
-
getIssuer
-
setIssuer
-
getIssuerName
-
setIssuerName
-
getClaims
-
setClaims
-
getDerivedKeys
-
setDerivedKeys
-
getParentAssertion
-
setParentAssertion
-
serialize
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Throws:
XMLStreamException
-