Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

com.bea.security.saml2.providers
Class SAML2AttributeStatementInfo

java.lang.Object
  extended by com.bea.security.saml2.providers.SAML2AttributeStatementInfo

public class SAML2AttributeStatementInfo
extends Object

This class represents an AttributeStatement in a SAML 2.0 Assertion.


Constructor Summary
SAML2AttributeStatementInfo()
          Constructs an instance that represents a SAML 2.0 AttributeStatement with no attributes.
SAML2AttributeStatementInfo(Collection<SAML2AttributeInfo> attrs)
          Constructs an instance that represents a SAML 2.0 AttributeStatement with multiple Attributes.
 
Method Summary
 void addAttributeInfo(Collection<SAML2AttributeInfo> attrs)
          Adds a collection of attributes to this instance, to the end of the existing list, in the order that the param Collection iterates through the Collection.
 void addAttributeInfo(SAML2AttributeInfo attr)
          Adds a single attribute to this instance, at the end of the existing list.
 Collection<SAML2AttributeInfo> getAttributeInfo()
          Returns a collection of attributes contained by a single AttributeStatement of a SAML Assertion.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SAML2AttributeStatementInfo

public SAML2AttributeStatementInfo()
Constructs an instance that represents a SAML 2.0 AttributeStatement with no attributes.


SAML2AttributeStatementInfo

public SAML2AttributeStatementInfo(Collection<SAML2AttributeInfo> attrs)
Constructs an instance that represents a SAML 2.0 AttributeStatement with multiple Attributes.

Parameters:
attrs - represents the attributes contained in a single AttributeStatment of a SAML assertion
Method Detail

addAttributeInfo

public void addAttributeInfo(SAML2AttributeInfo attr)
Adds a single attribute to this instance, at the end of the existing list.

Parameters:
attr - represents a single attribute to be added

addAttributeInfo

public void addAttributeInfo(Collection<SAML2AttributeInfo> attrs)
Adds a collection of attributes to this instance, to the end of the existing list, in the order that the param Collection iterates through the Collection.

Parameters:
attrs - represents multiple attributes to be added

getAttributeInfo

public Collection<SAML2AttributeInfo> getAttributeInfo()
Returns a collection of attributes contained by a single AttributeStatement of a SAML Assertion.

Returns:
attributes to be included by a single AttributeStatement, null if the AttributeStatement contains no attributes

toString

public String toString()

Overrides:
toString in class Object

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02