com.ibm.wsspi.wssecurity.saml.data

Class SAMLAttribute

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.saml.data.SAMLAttribute
All implemented interfaces:
java.io.Serializable

  1. public class SAMLAttribute
  2. extends java.lang.Object
  3. implements java.io.Serializable
This is class represents a SAML user attribute that can be contained in a SAML Assertion.
See Also:
Serialized Form

Constructor Summary

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

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getAttributeNamespace()
This method returns the attribute's namespace.
  1. java.lang.String
getFriendlyName()
This method returns the friendly name of the SAML Attribute.
  1. java.lang.String
getName()
This method returns the name of the attribute.
  1. java.lang.String
getNameFormat()
This method returns the attribute attribute's format that specifies how the attribute will be interpreted.
  1. java.lang.String[]
getStringAttributeValue()
This method returns an array of this SAML attribute's values in string representation.
  1. com.ibm.websphere.wssecurity.wssapi.XMLStructure[]
getXMLAttributeValue()
This method returns tan array of this SAML attribute's values in XML form.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

SAMLAttribute

  1. public SAMLAttribute(java.lang.String name,
  2. java.lang.String[] stringAttributeValue,
  3. com.ibm.websphere.wssecurity.wssapi.XMLStructure[] xmlAttributeValue,
  4. java.lang.String attributeNamespace,
  5. java.lang.String nameFormat,
  6. java.lang.String friendlyName)
Class constructor

SAMLAttribute

  1. public SAMLAttribute(SAMLAttribute anAttribute)
Class constructor. Copies values from another attribute.

Method Detail

getName

  1. public java.lang.String getName( )
This method returns the name of the attribute.
Returns:
SAML attribute's name String

getNameFormat

  1. public java.lang.String getNameFormat( )
This method returns the attribute attribute's format that specifies how the attribute will be interpreted.
Returns:
SAML attribute's format String

getAttributeNamespace

  1. public java.lang.String getAttributeNamespace( )
This method returns the attribute's namespace.
Returns:
SAML attribute's namespace String

getStringAttributeValue

  1. public java.lang.String[] getStringAttributeValue( )
This method returns an array of this SAML attribute's values in string representation.
Returns:
SAML attribute's string value String[]

getXMLAttributeValue

  1. public com.ibm.websphere.wssecurity.wssapi.XMLStructure[] getXMLAttributeValue( )
This method returns tan array of this SAML attribute's values in XML form.
Returns:
SAML attribute's XML value XMLStructure[]

getFriendlyName

  1. public java.lang.String getFriendlyName( )
This method returns the friendly name of the SAML Attribute.
Returns:
SAML attribute's friendly name String