Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.security.providers.saml
Class SAMLAttributeStatementInfo

    java.lang.Object
      weblogic.security.providers.saml.SAMLAttributeStatementInfo

    public class SAMLAttributeStatementInfo

extends Object

A class that represents an AttributeStatement in a SAMLAssertion.

Constructor Summary
`SAMLAttributeStatementInfo()` Constructs a `SAMLAttributeStatementInfo` with no attributes.
`SAMLAttributeStatementInfo(Collection<SAMLAttributeInfo> attrs)` Constructs a `SAMLAttributeStatementInfo` containing multiple `SAMLAttributeInfo` elements.

Method Summary
`void` | `addAttributeInfo(SAMLAttributeInfo info)` Adds a `SAMLAttributeInfo`, at the end of the existing attribute list.
`Collection<SAMLAttributeInfo>` | `getAttributeInfo()` return attributes in this AttributeStatement
`void` | `setAttributeInfo(Collection<SAMLAttributeInfo> attrs)` Adds a `Collection` of `SAMLAttributeInfo` instance to this `SAMLAttributeStatementInfo` instance, to the end of the existing attributes list, in the order that they presents in the attrs.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SAMLAttributeStatementInfo

    public SAMLAttributeStatementInfo()

  Constructs a `SAMLAttributeStatementInfo` with no attributes. It represents an empty SAML AttributeStatement.

### SAMLAttributeStatementInfo

    public SAMLAttributeStatementInfo(Collection<SAMLAttributeInfo> attrs)

  Constructs a `SAMLAttributeStatementInfo` containing multiple `SAMLAttributeInfo` elements.

  Parameters:
    `attrs` - `Collection` of `SAMLAttributeInfo`

Method Detail

### getAttributeInfo

    public Collection<SAMLAttributeInfo> getAttributeInfo()

  return attributes in this AttributeStatement

  Returns:
    attributes, it's a collection of SAMLAttributeInfo

### setAttributeInfo

    public void setAttributeInfo(Collection<SAMLAttributeInfo> attrs)

  Adds a `Collection` of `SAMLAttributeInfo` instance to this `SAMLAttributeStatementInfo` instance, to the end of the existing attributes list, in the order that they presents in the attrs.

  Parameters:
    `attrs` - attributes to be added

### addAttributeInfo

    public void addAttributeInfo(SAMLAttributeInfo info)

  Adds a `SAMLAttributeInfo`, at the end of the existing attribute list. If the info is null, or its name or namespace is null or empty, it's not added.

  Parameters:
    `info` - `SAMLAttributeInfo`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD