public class SAMLAttributeDataImpl extends Object implements SAMLAttributeData
| Modifier and Type | Field and Description | 
|---|---|
static String | 
SAML_2_0_ATTRNAME_FORMAT_BASIC
Deprecated.  
  | 
| Constructor and Description | 
|---|
SAMLAttributeDataImpl()
Deprecated.  
  | 
SAMLAttributeDataImpl(SAML2AttributeInfo saml2AttributeInfo)
Deprecated.  
  | 
SAMLAttributeDataImpl(SAMLAttributeInfo samlAttributeInfo)
Deprecated.  
  | 
SAMLAttributeDataImpl(String attributeName,
                     Collection<String> attributeValues)
Deprecated.  
  | 
SAMLAttributeDataImpl(String attributeName,
                     String attributeNameFormat,
                     String attributeFriendlyName,
                     String namespace,
                     Collection<String> attributeValues)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAttributeValue(String attributeValue)
Deprecated.  
add one attribute value 
 | 
void | 
addAttributeValues(Collection<String> newAttributeValues)
Deprecated.  
add  attribute values 
 | 
static SAMLAttributeData | 
consolation(List<SAMLAttributeData> attributeList)
Deprecated.  
This method will add all attribute values into the first SAMLAttributeData object, and return a single SAMLAttributeData object. 
 | 
String | 
getAttributeFriendlyName()
Deprecated.  
get the Attribute Friendly Name 
 | 
String | 
getAttributeName()
Deprecated.  
get the attribute name 
 | 
String | 
getAttributeNameFormat()
Deprecated.  
get the attribute name format for SAML 2.0 only 
 | 
String | 
getAttributeNameSpace()
Deprecated.  
get the namespace of the Attribute. 
 | 
Collection<String> | 
getAttributeValues()
Deprecated.  
get the Attribute Value 
 | 
SAML2AttributeInfo | 
getSAML2AttributeInfo()
Deprecated.  
get a SAML2AttributeInfo object from this object 
 | 
SAMLAttributeInfo | 
getSAMLAttributeInfo()
Deprecated.  
get a SAMLAttributeInfo object from this object 
 | 
boolean | 
isEmpty()
Deprecated.  
Check if this attribute data element does not have vlaues 
 | 
boolean | 
isSAML20()
Deprecated.  
check if this is a SAML 2.0 Attributes 
 | 
void | 
setAttributeFriendlyName(String attributeFriendlyName)
Deprecated.  
set the Attribute Friendly Name 
 | 
void | 
setAttributeName(String attributeName)
Deprecated.  
set the attribute name 
 | 
void | 
setAttributeNameFormat(String attributeNameFormat)
Deprecated.  
set et the attribute name format 
 | 
void | 
setAttributeNameSpace(String attributeNameSpace)
Deprecated.  
set attributeNameSpace. 
 | 
void | 
setAttributeValues(Collection<String> attributeValues)
Deprecated.  
set collection of attribute values 
 | 
void | 
setSAML20(boolean saml20)
Deprecated.  
set this data object to SAML 2.0 attribute object 
 | 
String | 
toString()
Deprecated.  
  | 
String | 
valuesToString(String existing)
Deprecated.  
Return a String for the array of value String, concatenated with "; " 
 | 
public static final String SAML_2_0_ATTRNAME_FORMAT_BASIC
public SAMLAttributeDataImpl()
public SAMLAttributeDataImpl(String attributeName, Collection<String> attributeValues)
public SAMLAttributeDataImpl(String attributeName, String attributeNameFormat, String attributeFriendlyName, String namespace, Collection<String> attributeValues)
public SAMLAttributeDataImpl(SAML2AttributeInfo saml2AttributeInfo)
public SAMLAttributeDataImpl(SAMLAttributeInfo samlAttributeInfo)
public String getAttributeName()
getAttributeName in interface SAMLAttributeDatapublic void setAttributeName(String attributeName)
setAttributeName in interface SAMLAttributeDataattributeName - string of the attribute namepublic String getAttributeNameFormat()
getAttributeNameFormat in interface SAMLAttributeDatapublic void setAttributeNameFormat(String attributeNameFormat)
setAttributeNameFormat in interface SAMLAttributeDataattributeNameFormat - String of the attribute name formatpublic String getAttributeFriendlyName()
getAttributeFriendlyName in interface SAMLAttributeDatapublic void setAttributeFriendlyName(String attributeFriendlyName)
setAttributeFriendlyName in interface SAMLAttributeDataattributeFriendlyName - the Attribute Friendly Namepublic Collection<String> getAttributeValues()
getAttributeValues in interface SAMLAttributeDatapublic void setAttributeValues(Collection<String> attributeValues)
setAttributeValues in interface SAMLAttributeDataattributeValues - collection of attribute values to be setpublic void addAttributeValue(String attributeValue)
addAttributeValue in interface SAMLAttributeDataattributeValue - String of attribute value to be addedpublic void addAttributeValues(Collection<String> newAttributeValues)
addAttributeValues in interface SAMLAttributeDatanewAttributeValues - collection of attribute values to be addedpublic String getAttributeNameSpace()
getAttributeNameSpace in interface SAMLAttributeDatapublic void setAttributeNameSpace(String attributeNameSpace)
setAttributeNameSpace in interface SAMLAttributeDataattributeNameSpace - attributeNameSpace to be setpublic void setSAML20(boolean saml20)
saml20 - true if it is a SAML 2.0 attribute datapublic boolean isSAML20()
isSAML20 in interface SAMLAttributeDatapublic SAML2AttributeInfo getSAML2AttributeInfo()
getSAML2AttributeInfo in interface SAMLAttributeDatapublic SAMLAttributeInfo getSAMLAttributeInfo()
getSAMLAttributeInfo in interface SAMLAttributeDatapublic static SAMLAttributeData consolation(List<SAMLAttributeData> attributeList)
attributeList - SAMLAttributeData objects to be mergedpublic boolean isEmpty()
isEmpty in interface SAMLAttributeDatapublic String valuesToString(String existing)