|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bea.security.saml2.providers.SAML2AttributeInfo
public class SAML2AttributeInfo
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. |
| Constructor Summary | |
|---|---|
SAML2AttributeInfo()
Constructs an instance that represents a SAML2 Attribute with default fields. |
|
SAML2AttributeInfo(String attributeName,
Collection<String> attributeValues)
Constructs an instance that represents a SAML2 Attribute with specifiec information. |
|
SAML2AttributeInfo(String attributeName,
String attributeValue)
Constructs an instance that represents a SAML2 Attribute with specified information. |
|
SAML2AttributeInfo(String attributeName,
String attributeNameFormat,
String attributeFriendlyName,
Collection<String> attributeValues)
Constructs an instance that represents a SAML2 Attribute with specified information. |
|
| 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 |
|---|
public static final String ATTR_NAME_FORMAT_BASIC
| Constructor Detail |
|---|
public SAML2AttributeInfo()
public SAML2AttributeInfo(String attributeName,
Collection<String> attributeValues)
attributeName - the name of the attributeattributeValues - a collection of attribute values
public SAML2AttributeInfo(String attributeName,
String attributeValue)
attributeName - the name of the attributeattributeValue - a single attribute value
public SAML2AttributeInfo(String attributeName,
String attributeNameFormat,
String attributeFriendlyName,
Collection<String> attributeValues)
attributeName - the name of the attributeattributeNameFormat - the name format of the attributeattributeFriendlyName - the friendly name of the attributeattributeValues - a collection of attribute values| Method Detail |
|---|
public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName - the name of the attributepublic String getAttributeNameFormat()
SAML2AttributeInfo.ATTR_NAME_FORMAT_BASIC if not
specified.
public void setAttributeNameFormat(String attributeNameFormat)
attributeNameFormat - the name format of the attributepublic String getAttributeFriendlyName()
public void setAttributeFriendlyName(String attributeFriendlyName)
attributeFriendlyName - the friendly name of the attributepublic void addAttributeValue(String attributeValue)
attributeValue - the attribute value to be addedpublic void addAttributeValues(Collection<String> attributeValues)
attributeValues - the attribute's valuespublic Collection<String> getAttributeValues()
public String toString()
toString in class Object
|
Copyright 1996, 2011, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-06 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||