Class AttributeStatement
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.StatementAbstractType
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
-
- com.sun.xml.wss.saml.assertion.saml11.jaxb20.AttributeStatement
-
- All Implemented Interfaces:
AttributeStatement
public class AttributeStatement extends AttributeStatementType implements AttributeStatement
TheAttributeStatementelement supplies a statement by the issuer that the specified subject is associated with the specified attributes.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
attribute
-
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
subject
-
-
Constructor Summary
Constructors Constructor Description AttributeStatement(Subject subj, List attr)Dafault constructorAttributeStatement(AttributeStatementType attStmtType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeStatementTypefromElement(Element element)Constructs anAttributStatementelement from an existing XML blockList<Attribute>getAttributes()Gets the value of the attribute property.SubjectgetSubject()Gets the value of the subject property.-
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AttributeStatementType
getAttribute
-
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.SubjectStatementAbstractType
setSubject
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
AttributeStatement
public AttributeStatement(AttributeStatementType attStmtType)
-
-
Method Detail
-
fromElement
public static AttributeStatementType fromElement(Element element) throws SAMLException
Constructs anAttributStatementelement from an existing XML block- Parameters:
element- representing a DOM tree element- Throws:
SAMLException- if there is an error in the sender or in the element definition.
-
getAttributes
public List<Attribute> getAttributes()
Description copied from interface:AttributeStatementGets the value of the attribute property. Objects of the following type(s) are in the listAttribute- Specified by:
getAttributesin interfaceAttributeStatement
-
getSubject
public Subject getSubject()
Description copied from class:SubjectStatementAbstractTypeGets the value of the subject property.- Specified by:
getSubjectin interfaceAttributeStatement- Overrides:
getSubjectin classSubjectStatementAbstractType- Returns:
- possible object is
SubjectType
-
-