|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
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 assertionMethod Detail |
---|
public void addAttributeInfo(SAMLAttributeData attr)
addAttributeInfo
in interface SAMLAttributeStatementData
attr
- represents a single attribute to be addedpublic void addAttributeInfo(Collection<SAMLAttributeData> attrs)
addAttributeInfo
in interface SAMLAttributeStatementData
attrs
- represents multiple attributes to be addedpublic Collection<SAMLAttributeData> getAttributeInfo()
getAttributeInfo
in interface SAMLAttributeStatementData
public boolean isAttributeOnlyRequest()
isAttributeOnlyRequest
in interface SAMLAttributeStatementData
public void setAttributeOnlyRequest(boolean attributeOnlyRequest)
setAttributeOnlyRequest
in interface SAMLAttributeStatementData
attributeOnlyRequest
- set true if this is a SAML Attribute only requestpublic boolean isEmpty()
isEmpty
in interface SAMLAttributeStatementData
public int size()
size
in interface SAMLAttributeStatementData
public SAMLAttributeData getAttributeInfo(String attributeName)
getAttributeInfo
in interface SAMLAttributeStatementData
attributeName
- name of the attribute to be searched
public boolean hasAttributeInfo(String attributeName)
hasAttributeInfo
in interface SAMLAttributeStatementData
attributeName
- name of the attribute to be checked
public boolean hasAttributeValue(String attributeName, String attributeValue)
hasAttributeValue
in interface SAMLAttributeStatementData
attributeName
- name of the attribute to be searchedattributeValue
- name of the attribute value to be search
public Collection<SAML2AttributeStatementInfo> getCollectionsForSAML2AttributeStatementInfo()
getCollectionsForSAML2AttributeStatementInfo
in interface SAMLAttributeStatementData
public Collection<SAMLAttributeStatementInfo> getCollectionsForSAMLAttributeStatementInfo()
getCollectionsForSAMLAttributeStatementInfo
in interface SAMLAttributeStatementData
public Map<String,String> getNameValuePair()
public String toString()
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 11g Release 1 (10.3.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |