| 
 | Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.wsee.security.saml.SAMLAttributeStatementDataImpl
public class SAMLAttributeStatementDataImpl
This object represents the attributes in a single AttributeStatment.
| Constructor Summary | |
|---|---|
| SAMLAttributeStatementDataImpl()Default constructor. | |
| SAMLAttributeStatementDataImpl(Collection<SAMLAttributeData> attrs)Constructor. | |
| Method Summary | |
|---|---|
|  void | addAttributeInfo(Collection<SAMLAttributeData> 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(SAMLAttributeData attr)Adds a single attribute to this instance, at the end of the existing list. | 
|  Collection<SAMLAttributeData> | getAttributeInfo()Returns a collection of attributes contained by a single AttributeStatement of a SAML Assertion. | 
|  SAMLAttributeData | getAttributeInfo(String attributeName)Returns the SAMLAttributeInfo object for a given attribute name. | 
|  Collection<SAML2AttributeStatementInfo> | getCollectionsForSAML2AttributeStatementInfo()build a collection of SAML2AttributeStatementInfo objects for SAML 2.0 | 
|  Collection<SAMLAttributeStatementInfo> | getCollectionsForSAMLAttributeStatementInfo()build a collection of SAMLAttributeStatementInfo objects for SAML 1.1 | 
|  Map<String,String> | getNameValuePair()Generate the Map object with name and value pair. | 
|  boolean | hasAttributeInfo(String attributeName)check if the SAMLAttributeInfo object exist for a given attribute name. | 
|  boolean | hasAttributeValue(String attributeName,
                  String attributeValue) | 
|  boolean | isAttributeOnlyRequest()check if if this is a SAML Attribute only request. | 
|  boolean | isEmpty()check if this has empty SAML Attributes collection | 
|  void | setAttributeOnlyRequest(boolean attributeOnlyRequest)set this is a SAML Attribute only request. | 
|  int | size()return the size of the SAML Attributes collection in this object. | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SAMLAttributeStatementDataImpl()
public SAMLAttributeStatementDataImpl(Collection<SAMLAttributeData> attrs)
attrs - represents the attributes contained in a single
              AttributeStatment of a SAML assertion| Method Detail | 
|---|
public void addAttributeInfo(SAMLAttributeData attr)
addAttributeInfo in interface SAMLAttributeStatementDataattr - represents a single attribute to be addedpublic void addAttributeInfo(Collection<SAMLAttributeData> attrs)
addAttributeInfo in interface SAMLAttributeStatementDataattrs - represents multiple attributes to be addedpublic Collection<SAMLAttributeData> getAttributeInfo()
getAttributeInfo in interface SAMLAttributeStatementDatapublic boolean isAttributeOnlyRequest()
isAttributeOnlyRequest in interface SAMLAttributeStatementDatapublic void setAttributeOnlyRequest(boolean attributeOnlyRequest)
setAttributeOnlyRequest in interface SAMLAttributeStatementDataattributeOnlyRequest - set true if this is a SAML Attribute only requestpublic boolean isEmpty()
isEmpty in interface SAMLAttributeStatementDatapublic int size()
size in interface SAMLAttributeStatementDatapublic SAMLAttributeData getAttributeInfo(String attributeName)
getAttributeInfo in interface SAMLAttributeStatementDataattributeName - name of the attribute to be searched
public boolean hasAttributeInfo(String attributeName)
hasAttributeInfo in interface SAMLAttributeStatementDataattributeName - name of the attribute to be checked
public boolean hasAttributeValue(String attributeName,
                                 String attributeValue)
hasAttributeValue in interface SAMLAttributeStatementDataattributeName - name of the attribute to be searchedattributeValue - name of the attribute value to be search
public Collection<SAML2AttributeStatementInfo> getCollectionsForSAML2AttributeStatementInfo()
getCollectionsForSAML2AttributeStatementInfo in interface SAMLAttributeStatementDatapublic Collection<SAMLAttributeStatementInfo> getCollectionsForSAMLAttributeStatementInfo()
getCollectionsForSAMLAttributeStatementInfo in interface SAMLAttributeStatementDatapublic Map<String,String> getNameValuePair()
public String toString()
toString in class Object| 
 | Copyright 1996, 2010, 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.4) Part Number E13941-04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||