public class SAMLAttributeStatementDataImpl extends Object implements SAMLAttributeStatementData
| Constructor and Description |
|---|
SAMLAttributeStatementDataImpl()
Deprecated.
Default constructor.
|
SAMLAttributeStatementDataImpl(Collection<SAMLAttributeData> attrs)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeInfo(Collection<SAMLAttributeData> attrs)
Deprecated.
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)
Deprecated.
Adds a single attribute to this instance, at the end of the existing list.
|
Collection<SAMLAttributeData> |
getAttributeInfo()
Deprecated.
Returns a collection of attributes contained by a single AttributeStatement
of a SAML Assertion.
|
SAMLAttributeData |
getAttributeInfo(String attributeName)
Deprecated.
Returns the SAMLAttributeInfo object for a given attribute name.
|
Collection<SAML2AttributeStatementInfo> |
getCollectionsForSAML2AttributeStatementInfo()
Deprecated.
build a collection of SAML2AttributeStatementInfo objects for SAML 2.0
|
Collection<SAMLAttributeStatementInfo> |
getCollectionsForSAMLAttributeStatementInfo()
Deprecated.
build a collection of SAMLAttributeStatementInfo objects for SAML 1.1
|
Map<String,String> |
getNameValuePair()
Deprecated.
Generate the Map object with name and value pair.
|
boolean |
hasAttributeInfo(String attributeName)
Deprecated.
check if the SAMLAttributeInfo object exist for a given attribute name.
|
boolean |
hasAttributeValue(String attributeName,
String attributeValue)
Deprecated.
|
boolean |
isAttributeOnlyRequest()
Deprecated.
check if if this is a SAML Attribute only request.
|
boolean |
isEmpty()
Deprecated.
check if this has empty SAML Attributes collection
|
void |
setAttributeOnlyRequest(boolean attributeOnlyRequest)
Deprecated.
set this is a SAML Attribute only request.
|
int |
size()
Deprecated.
return the size of the SAML Attributes collection in this object.
|
String |
toString()
Deprecated.
|
public SAMLAttributeStatementDataImpl()
public SAMLAttributeStatementDataImpl(Collection<SAMLAttributeData> attrs)
attrs - represents the attributes contained in a single
AttributeStatment of a SAML assertionpublic 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 searchedpublic boolean hasAttributeInfo(String attributeName)
hasAttributeInfo in interface SAMLAttributeStatementDataattributeName - name of the attribute to be checkedpublic boolean hasAttributeValue(String attributeName, String attributeValue)
hasAttributeValue in interface SAMLAttributeStatementDataattributeName - name of the attribute to be searchedattributeValue - name of the attribute value to be searchpublic Collection<SAML2AttributeStatementInfo> getCollectionsForSAML2AttributeStatementInfo()
getCollectionsForSAML2AttributeStatementInfo in interface SAMLAttributeStatementDatapublic Collection<SAMLAttributeStatementInfo> getCollectionsForSAMLAttributeStatementInfo()
getCollectionsForSAMLAttributeStatementInfo in interface SAMLAttributeStatementDatapublic Map<String,String> getNameValuePair()