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
public abstract class AbstractSecuredParts extends RequiredParts
-
-
Constructor Summary
Constructors Constructor Description AbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Attachments
getAttachments()
QName
getName()
int
hashCode()
boolean
isBody()
void
serialize(XMLStreamWriter writer)
protected void
setAttachments(Attachments attachments)
protected void
setBody(boolean body)
-
Methods inherited from class org.apache.wss4j.policy.model.RequiredParts
addHeader, cloneAssertion, getHeaders
-
Methods inherited from class org.apache.wss4j.policy.model.AbstractSecurityAssertion
clone, equal, getType, getVersion, isAsserted, isIgnorable, isNormalized, isOptional, normalize, normalize, serialize, setIgnorable, setOptional
-
-
-
-
Constructor Detail
-
AbstractSecuredParts
public AbstractSecuredParts(SPConstants.SPVersion version, boolean body, Attachments attachments, List<Header> headers)
-
-
Method Detail
-
getName
public QName getName()
- Specified by:
getName
in interfaceorg.apache.neethi.Assertion
- Overrides:
getName
in classRequiredParts
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classRequiredParts
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classRequiredParts
-
serialize
public void serialize(XMLStreamWriter writer) throws XMLStreamException
- Specified by:
serialize
in interfaceorg.apache.neethi.Assertion
- Specified by:
serialize
in interfaceorg.apache.neethi.PolicyComponent
- Overrides:
serialize
in classRequiredParts
- Throws:
XMLStreamException
-
isBody
public boolean isBody()
-
setBody
protected void setBody(boolean body)
-
getAttachments
public Attachments getAttachments()
-
setAttachments
protected void setAttachments(Attachments attachments)
-
-