public class SAMLAttribute
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SAMLAttribute(SAMLAttribute anAttribute)
Class constructor.
|
SAMLAttribute(java.lang.String name,
java.lang.String[] stringAttributeValue,
com.ibm.websphere.wssecurity.wssapi.XMLStructure[] xmlAttributeValue,
java.lang.String attributeNamespace,
java.lang.String nameFormat,
java.lang.String friendlyName)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeNamespace()
This method returns the attribute's namespace.
|
java.lang.String |
getFriendlyName()
This method returns the friendly name of the SAML Attribute.
|
java.lang.String |
getName()
This method returns the name of the attribute.
|
java.lang.String |
getNameFormat()
This method returns the attribute attribute's format that specifies how the attribute will be interpreted.
|
java.lang.String[] |
getStringAttributeValue()
This method returns an array of this SAML attribute's values in string representation.
|
com.ibm.websphere.wssecurity.wssapi.XMLStructure[] |
getXMLAttributeValue()
This method returns tan array of this SAML attribute's values in XML form.
|
public SAMLAttribute(java.lang.String name, java.lang.String[] stringAttributeValue, com.ibm.websphere.wssecurity.wssapi.XMLStructure[] xmlAttributeValue, java.lang.String attributeNamespace, java.lang.String nameFormat, java.lang.String friendlyName)
String
- name - name of the SAML AttributeString[]
- stringAttributeValue - String array containing attribute values in string form.XMLStructure[]
- xmlAttributeValue - XMLStructure array containing attribute values in XML form.String
- attributeNamespace - attribute's namespacesString
- nameFormat - attribute's format that specifies how the attribute will be interpreted. For example, "urn:oasis:names:tc:SAML:2.0:attrname-format:uri"String
- friendlyName - a friendly name for the attribute, in case the attribute's name is cryptic.public SAMLAttribute(SAMLAttribute anAttribute)
SAMLAttribute
- anAttributepublic java.lang.String getName()
String
public java.lang.String getNameFormat()
String
public java.lang.String getAttributeNamespace()
String
public java.lang.String[] getStringAttributeValue()
String[]
public com.ibm.websphere.wssecurity.wssapi.XMLStructure[] getXMLAttributeValue()
XMLStructure[]
public java.lang.String getFriendlyName()
String