Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.security.providers.saml
Class SAMLAttributeStatementInfo

java.lang.Object
  extended by 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

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
11g Release 1 (10.3.6)

Part Number E13941-06