|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectweblogic.security.providers.saml.SAMLAttributeInfo
public class SAMLAttributeInfo
A class that represents a single attribute of a SAMLAssertion AttributeStatement.
| Constructor Summary | |
|---|---|
SAMLAttributeInfo()
Constructs a SAMLAttributeInfo with all null fields. |
|
SAMLAttributeInfo(String name,
String namespace,
Collection<String> values)
Constructs a SAMLAttributeInfo representing a SAML Attribute. |
|
SAMLAttributeInfo(String name,
String namespace,
String value)
Constructs a SAMLAttributeInfo instance representing a SAML Attribute fields. |
|
| Method Summary | |
|---|---|
void |
addAttributeValue(String value)
Adds a String value to the end of this instance's values. |
String |
getAttributeName()
return name of a SAML Attribute |
String |
getAttributeNamespace()
return namespace of a SAML Attribute |
Collection<String> |
getAttributeValues()
Return attribute values, it's a Collection of String and in the
order they were added. |
void |
setAttributeName(String name,
String namespace)
Set the name and namespace of this SAMLAttributeInfo instance. |
void |
setAttributeValues(Collection<String> values)
Set attribute's values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAMLAttributeInfo()
SAMLAttributeInfo with all null fields.
public SAMLAttributeInfo(String name,
String namespace,
Collection<String> values)
SAMLAttributeInfo representing a SAML Attribute.
If name or namespace is null, returns an instance with all null fields.
An empty Collection adds no values to this instance.
Collection elements that are null are added as empty strings.
name - Attribute name of a SAML Attributenamespace - NameSpace of a SAML Attributevalues - values of a SAML Attribute, it's a collection of String
public SAMLAttributeInfo(String name,
String namespace,
String value)
SAMLAttributeInfo instance representing a SAML Attribute fields.
If name or namespace is null, returns an instance with all null fields.
A null value is added as an empty String.
name - Attribute name of a SAML Attributenamespace - NameSpace of a SAML Attributevalue - values of a SAML Attribute, it's a String| Method Detail |
|---|
public String getAttributeName()
public String getAttributeNamespace()
public void setAttributeName(String name,
String namespace)
SAMLAttributeInfo instance.
If name or namespace is null, returns without updating the instance.
name - attribute namenamespace - attribute namespacepublic void setAttributeValues(Collection<String> values)
Collection adds no values to this instance.
Collection elements that are null are added as empty strings.
values - attribute valuespublic void addAttributeValue(String value)
String value to the end of this instance's values.
A null value is added as an empty String.
value - attribute value to be addedpublic Collection<String> getAttributeValues()
Collection of String and in the
order they were added.
|
Copyright 1996, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||