Class AttributeStatement
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.StatementAbstractType
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.AttributeStatementType
-
- com.sun.xml.wss.saml.assertion.saml20.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.saml20.jaxb20.AttributeStatementType
attributeOrEncryptedAttribute
-
-
Constructor Summary
Constructors Constructor Description AttributeStatement(AttributeStatementType attStmtType)AttributeStatement(List attr)Dafault constructor
-
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 for SAML1.1 and SAML1.0-
Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AttributeStatementType
getAttributeOrEncryptedAttribute
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
AttributeStatement
public AttributeStatement(List attr)
Dafault constructor
-
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 interface:AttributeStatementGets the value of the subject property for SAML1.1 and SAML1.0- Specified by:
getSubjectin interfaceAttributeStatement- Returns:
- object is
Subject
-
-