|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.Statement com.sun.identity.saml.assertion.SubjectStatement com.sun.identity.saml.assertion.AttributeStatement
public class AttributeStatement
The AttributeStatement
element supplies a statement by the issuer
that the specified subject is associated with the specified attributes.
Field Summary |
---|
Fields inherited from class com.sun.identity.saml.assertion.SubjectStatement |
---|
_subject |
Fields inherited from class com.sun.identity.saml.assertion.Statement |
---|
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED |
Constructor Summary | |
---|---|
protected |
AttributeStatement()
Dafault constructor |
|
AttributeStatement(Element element)
Constructs an AttributStatement element from an existing
XML block |
|
AttributeStatement(Subject subject,
List attribute)
Constructs an instance of AttributeStatement . |
Method Summary | |
---|---|
protected Attribute |
createAttribute(Element attributeElement)
|
protected Subject |
createSubject(Element subjectElement)
|
List |
getAttribute()
Gets attribute from Attribute statement |
int |
getStatementType()
Gets the type of statement. |
String |
toString()
Creates a String representation of the attribute statement |
String |
toString(boolean includeNS,
boolean declareNS)
Returns a String representation of the Attribute statement. |
Methods inherited from class com.sun.identity.saml.assertion.SubjectStatement |
---|
getSubject, setSubject |
Constructor Detail |
---|
protected AttributeStatement()
public AttributeStatement(Element element) throws SAMLException
AttributStatement
element from an existing
XML block
element
- representing a DOM tree element
SAMLException
- if there is an error in the sender or in the
element definition.public AttributeStatement(Subject subject, List attribute) throws SAMLException
AttributeStatement
.
subject
- (required) A Subject object.attribute
- (one or more) A List of Attribute objects.
SAMLException
- if there is an error in the sender.Method Detail |
---|
public List getAttribute()
public int getStatementType()
getStatementType
in class Statement
public String toString()
toString
in class Object
AttributeStatement
elementpublic String toString(boolean includeNS, boolean declareNS)
toString
in class SubjectStatement
includeNS
- Determines whether or not the namespace qualifier
is prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.
<saml:AttributeStatement>
element.protected Subject createSubject(Element subjectElement) throws SAMLException
SAMLException
protected Attribute createAttribute(Element attributeElement) throws SAMLException
SAMLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |