Package org.apache.wss4j.policy.model
Class AbstractSecuredParts
java.lang.Object
org.apache.wss4j.policy.model.AbstractSecurityAssertion
org.apache.wss4j.policy.model.RequiredParts
org.apache.wss4j.policy.model.AbstractSecuredParts
- All Implemented Interfaces:
org.apache.neethi.Assertion,org.apache.neethi.PolicyComponent
- Direct Known Subclasses:
EncryptedParts,SignedParts
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()inthashCode()booleanisBody()voidserialize(XMLStreamWriter writer) protected voidsetAttachments(Attachments attachments) protected voidsetBody(boolean body) Methods inherited from class org.apache.wss4j.policy.model.RequiredParts
addHeader, cloneAssertion, getHeadersMethods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, normalize, serialize, setIgnorable, setOptional
-
Constructor Details
-
AbstractSecuredParts
public AbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.apache.neethi.Assertion- Overrides:
getNamein classRequiredParts
-
equals
- Overrides:
equalsin classRequiredParts
-
hashCode
public int hashCode()- Overrides:
hashCodein classRequiredParts
-
serialize
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Overrides:
serializein classRequiredParts- Throws:
XMLStreamException
-
isBody
public boolean isBody() -
setBody
protected void setBody(boolean body) -
getAttachments
-
setAttachments
-