Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

weblogic.wsee.security.saml
Interface SAMLAttributeData

All Known Implementing Classes:
SAMLAttributeDataImpl

public interface SAMLAttributeData

SAML Attribute Info interface that can be either SAML 1.1 or SAML 2.0 Attribute


Method Summary
 void addAttributeValue(String attributeValue)
          add one attribute value
 void addAttributeValues(Collection<String> newAttributeValues)
          add attribute values
 String getAttributeFriendlyName()
          get the Attribute Friendly Name
 String getAttributeName()
          get the attribute name
 String getAttributeNameFormat()
          get the attribute name format for SAML 2.0 only
 String getAttributeNameSpace()
          get the namespace of the Attribute.
 Collection<String> getAttributeValues()
          get the Attribute Value
 SAML2AttributeInfo getSAML2AttributeInfo()
          get a SAML2AttributeInfo object from this object
 SAMLAttributeInfo getSAMLAttributeInfo()
          get a SAMLAttributeInfo object from this object
 boolean isEmpty()
          Check if this attribute data element does not have vlaues
 boolean isSAML20()
          check if this is a SAML 2.0 Attributes
 void setAttributeFriendlyName(String attributeFriendlyName)
          set the Attribute Friendly Name
 void setAttributeName(String attributeName)
          set the attribute name
 void setAttributeNameFormat(String attributeNameFormat)
          set et the attribute name format
 void setAttributeNameSpace(String attributeNameSpace)
          set attributeNameSpace.
 void setAttributeValues(Collection<String> attributeValues)
          set collection of attribute values
 

Method Detail

getAttributeName

String getAttributeName()
get the attribute name

Returns:
string of the attribute name

getAttributeNameFormat

String getAttributeNameFormat()
get the attribute name format for SAML 2.0 only

Returns:
String of the attribute name format.

getAttributeFriendlyName

String getAttributeFriendlyName()
get the Attribute Friendly Name

Returns:
String of the Attribute Friendly Name

getAttributeValues

Collection<String> getAttributeValues()
get the Attribute Value

Returns:
collection of attribute values

isSAML20

boolean isSAML20()
check if this is a SAML 2.0 Attributes

Returns:
true if it is a SAML 2.0 attribute, false otherwise

setAttributeName

void setAttributeName(String attributeName)
set the attribute name

Parameters:
attributeName - string of the attribute name

setAttributeNameFormat

void setAttributeNameFormat(String attributeNameFormat)
set et the attribute name format

Parameters:
attributeNameFormat - String of the attribute name format

setAttributeFriendlyName

void setAttributeFriendlyName(String attributeFriendlyName)
set the Attribute Friendly Name

Parameters:
attributeFriendlyName - the Attribute Friendly Name

setAttributeValues

void setAttributeValues(Collection<String> attributeValues)
set collection of attribute values

Parameters:
attributeValues - collection of attribute values to be set

addAttributeValue

void addAttributeValue(String attributeValue)
add one attribute value

Parameters:
attributeValue - String of attribute value to be set

getAttributeNameSpace

String getAttributeNameSpace()
get the namespace of the Attribute. This is for SAML 1.1 only.

Returns:
string of attribute namespace

setAttributeNameSpace

void setAttributeNameSpace(String attributeNameSpace)
set attributeNameSpace. This is for SAML 1.1 only.

Parameters:
attributeNameSpace - attributeNameSpace to be set

getSAML2AttributeInfo

SAML2AttributeInfo getSAML2AttributeInfo()
get a SAML2AttributeInfo object from this object

Returns:
SAML2AttributeInfo for SAML 2.0

getSAMLAttributeInfo

SAMLAttributeInfo getSAMLAttributeInfo()
get a SAMLAttributeInfo object from this object

Returns:
SAMLAttributeInfo for SAML 1.1

isEmpty

boolean isEmpty()
Check if this attribute data element does not have vlaues

Returns:
true if the data is empty, no values; false otherwise

addAttributeValues

void addAttributeValues(Collection<String> newAttributeValues)
add attribute values

Parameters:
newAttributeValues - collection of attribute values to be added

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