|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.5) Part Number E13941-05 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.wsee.security.saml.SAMLAttributeDataImpl
public class SAMLAttributeDataImpl
Field Summary | |
---|---|
static String |
SAML_2_0_ATTRNAME_FORMAT_BASIC
|
Constructor Summary | |
---|---|
SAMLAttributeDataImpl()
|
|
SAMLAttributeDataImpl(SAML2AttributeInfo saml2AttributeInfo)
|
|
SAMLAttributeDataImpl(SAMLAttributeInfo samlAttributeInfo)
|
|
SAMLAttributeDataImpl(String attributeName,
Collection<String> attributeValues)
|
|
SAMLAttributeDataImpl(String attributeName,
String attributeNameFormat,
String attributeFriendlyName,
String namespace,
Collection<String> attributeValues)
|
Method Summary | |
---|---|
void |
addAttributeValue(String attributeValue)
add one attribute value |
void |
addAttributeValues(Collection<String> newAttributeValues)
add attribute values |
static SAMLAttributeData |
consolation(List<SAMLAttributeData> attributeList)
This method will add all attribute values into the first SAMLAttributeData object, and return a single SAMLAttributeData object. |
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 |
void |
setSAML20(boolean saml20)
set this data object to SAML 2.0 attribute object |
String |
toString()
|
String |
valuesToString(String existing)
Return a String for the array of value String, concatenated with "; " |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String SAML_2_0_ATTRNAME_FORMAT_BASIC
Constructor Detail |
---|
public SAMLAttributeDataImpl()
public SAMLAttributeDataImpl(String attributeName, Collection<String> attributeValues)
public SAMLAttributeDataImpl(String attributeName, String attributeNameFormat, String attributeFriendlyName, String namespace, Collection<String> attributeValues)
public SAMLAttributeDataImpl(SAML2AttributeInfo saml2AttributeInfo)
public SAMLAttributeDataImpl(SAMLAttributeInfo samlAttributeInfo)
Method Detail |
---|
public String getAttributeName()
getAttributeName
in interface SAMLAttributeData
public void setAttributeName(String attributeName)
setAttributeName
in interface SAMLAttributeData
attributeName
- string of the attribute namepublic String getAttributeNameFormat()
getAttributeNameFormat
in interface SAMLAttributeData
public void setAttributeNameFormat(String attributeNameFormat)
setAttributeNameFormat
in interface SAMLAttributeData
attributeNameFormat
- String of the attribute name formatpublic String getAttributeFriendlyName()
getAttributeFriendlyName
in interface SAMLAttributeData
public void setAttributeFriendlyName(String attributeFriendlyName)
setAttributeFriendlyName
in interface SAMLAttributeData
attributeFriendlyName
- the Attribute Friendly Namepublic Collection<String> getAttributeValues()
getAttributeValues
in interface SAMLAttributeData
public void setAttributeValues(Collection<String> attributeValues)
setAttributeValues
in interface SAMLAttributeData
attributeValues
- collection of attribute values to be setpublic void addAttributeValue(String attributeValue)
addAttributeValue
in interface SAMLAttributeData
attributeValue
- String of attribute value to be addedpublic void addAttributeValues(Collection<String> newAttributeValues)
addAttributeValues
in interface SAMLAttributeData
newAttributeValues
- collection of attribute values to be addedpublic String getAttributeNameSpace()
getAttributeNameSpace
in interface SAMLAttributeData
public void setAttributeNameSpace(String attributeNameSpace)
setAttributeNameSpace
in interface SAMLAttributeData
attributeNameSpace
- attributeNameSpace to be setpublic void setSAML20(boolean saml20)
saml20
- true if it is a SAML 2.0 attribute datapublic boolean isSAML20()
isSAML20
in interface SAMLAttributeData
public SAML2AttributeInfo getSAML2AttributeInfo()
getSAML2AttributeInfo
in interface SAMLAttributeData
public SAMLAttributeInfo getSAMLAttributeInfo()
getSAMLAttributeInfo
in interface SAMLAttributeData
public static SAMLAttributeData consolation(List<SAMLAttributeData> attributeList)
attributeList
- SAMLAttributeData objects to be merged
public boolean isEmpty()
isEmpty
in interface SAMLAttributeData
public String valuesToString(String existing)
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.5) Part Number E13941-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |