Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


com.bea.security.saml2.providers
Class SAML2AttributeInfo

java.lang.Object
  extended by com.bea.security.saml2.providers.SAML2AttributeInfo


public class SAML2AttributeInfo
extends Object

This class represents a single Attribute of an AttributeStatement in a SAML 2.0 assertion.


Field Summary
static String ATTR_NAME_FORMAT_BASIC
          URN for the basic attribute name format.

 

Method Summary
 void addAttributeValue(String attributeValue)
          Adds a single String value to the end of this instance's collection of values.
 void addAttributeValues(Collection<String> attributeValues)
          Adds a collection of Strings representing the attribute's values.
 String getAttributeFriendlyName()
          Gets the friendly name of the attribute.
 String getAttributeName()
          Gets the name of the attribute.
 String getAttributeNameFormat()
          Gets the name format of the attribute.
 Collection<String> getAttributeValues()
          Returns a collection of Strings representing the attribute's values, in the order they were added.
 void setAttributeFriendlyName(String attributeFriendlyName)
          Sets the friendly name of the attribute.
 void setAttributeName(String attributeName)
          Sets the name of the attribute.
 void setAttributeNameFormat(String attributeNameFormat)
          Sets the name format of the attribute.
 String toString()
          

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

ATTR_NAME_FORMAT_BASIC

public static final String ATTR_NAME_FORMAT_BASIC
URN for the basic attribute name format.
See Also:
Constant Field Values

Method Detail

getAttributeName

public String getAttributeName()
Gets the name of the attribute.
Returns:
the name of the attribute

setAttributeName

public void setAttributeName(String attributeName)
Sets the name of the attribute.
Parameters:
attributeName - the name of the attribute

getAttributeNameFormat

public String getAttributeNameFormat()
Gets the name format of the attribute. Defaults to SAML2AttributeInfo.ATTR_NAME_FORMAT_BASIC if not specified.
Returns:
the name format of the attribute

setAttributeNameFormat

public void setAttributeNameFormat(String attributeNameFormat)
Sets the name format of the attribute.
Parameters:
attributeNameFormat - the name format of the attribute

getAttributeFriendlyName

public String getAttributeFriendlyName()
Gets the friendly name of the attribute.
Returns:
the friendly name of the attribute

setAttributeFriendlyName

public void setAttributeFriendlyName(String attributeFriendlyName)
Sets the friendly name of the attribute.
Parameters:
attributeFriendlyName - the friendly name of the attribute

addAttributeValue

public void addAttributeValue(String attributeValue)
Adds a single String value to the end of this instance's collection of values.
Parameters:
attributeValue - the attribute value to be added

addAttributeValues

public void addAttributeValues(Collection<String> attributeValues)
Adds a collection of Strings representing the attribute's values.
Parameters:
attributeValues - the attribute's values

getAttributeValues

public Collection<String> getAttributeValues()
Returns a collection of Strings representing the attribute's values, in the order they were added.
Returns:
the attribute's values, null if this attribute has no values

toString

public String toString()
Overrides:
toString in class Object

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09