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


weblogic.security.providers.saml
Class SAMLAttributeInfo

java.lang.Object
  extended by weblogic.security.providers.saml.SAMLAttributeInfo


public class SAMLAttributeInfo
extends Object

A class that represents a single attribute of a SAMLAssertion AttributeStatement.


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

 

Method Detail

getAttributeName

public String getAttributeName()
return name of a SAML Attribute
Returns:
name of a SAML Attribute

getAttributeNamespace

public String getAttributeNamespace()
return namespace of a SAML Attribute
Returns:
namespace of a SAML Attribute

setAttributeName

public void setAttributeName(String name,
                             String namespace)
Set the name and namespace of this SAMLAttributeInfo instance. If name or namespace is null, returns without updating the instance.
Parameters:
name - attribute name
namespace - attribute namespace

setAttributeValues

public void setAttributeValues(Collection<String> values)
Set attribute's values. An empty Collection adds no values to this instance. Collection elements that are null are added as empty strings.
Parameters:
values - attribute values

addAttributeValue

public void addAttributeValue(String value)
Adds a String value to the end of this instance's values. A null value is added as an empty String.
Parameters:
value - attribute value to be added

getAttributeValues

public Collection<String> getAttributeValues()
Return attribute values, it's a Collection of String and in the order they were added.
Returns:
attribute values

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