Package org.apache.ws.secpolicy.model
Class SecurityContextToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Token
org.apache.ws.secpolicy.model.SecurityContextToken
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
- Direct Known Subclasses:
SecureConversationToken
Model class of SecurityContextToken assertion
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setRequireExternalUriRef
(boolean requireExternalUriRef) void
setSc10SecurityContextToken
(boolean sc10SecurityContextToken) Methods inherited from class org.apache.ws.secpolicy.model.Token
getInclusion, isDerivedKeys, isExplicitDerivedKeys, isImpliedDerivedKeys, setDerivedKeys, setExplicitDerivedKeys, setImpliedDerivedKeys, setInclusion
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
SecurityContextToken
public SecurityContextToken(int version)
-
-
Method Details
-
isRequireExternalUriRef
public boolean isRequireExternalUriRef()- Returns:
- Returns the requireExternalUriRef.
-
setRequireExternalUriRef
public void setRequireExternalUriRef(boolean requireExternalUriRef) - Parameters:
requireExternalUriRef
- The requireExternalUriRef to set.
-
isSc10SecurityContextToken
public boolean isSc10SecurityContextToken()- Returns:
- Returns the sc10SecurityContextToken.
-
setSc10SecurityContextToken
public void setSc10SecurityContextToken(boolean sc10SecurityContextToken) - Parameters:
sc10SecurityContextToken
- The sc10SecurityContextToken to set.
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-