public class ExtendedSAMLAttributeImpl extends Object implements ExtendedSAMLAttribute, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
addToAUTHBlock_
Specifies whether this SAML attribute should be appended to AUTH Block.
|
protected String |
name_
The name of this SAML attribute.
|
protected String |
namespace_
The namespace URI of this SAML attribute.
|
protected Object |
value_
The value of this SAML attribute.
|
ADD_TO_AUTHBLOCK, ADD_TO_AUTHBLOCK_ONLY, NOT_ADD_TO_AUTHBLOCK| Constructor and Description |
|---|
ExtendedSAMLAttributeImpl(String name,
Object value,
String namespace,
int addToAUTHBlock)
Sets this ExtendedSAMLAttribute.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAddToAUTHBlock()
Specifies if this SAML-Attribute should be added to the AUTH-Block.
|
String |
getName()
The name of the SAML-Attribute.
|
String |
getNameSpace()
The namespace of the SAML-Attribute.
|
Object |
getValue()
The value of the SAML-Attribute.
|
void |
setAddToAUTHBlock(int addToAUTHBlock)
Specifies if this SAML Attribute should be added to the AUTHBlock.
|
void |
setName(String name)
Sets the name of this SAML attribute.
|
void |
setNamespace(String namespace)
Sets the namespace of this SAML attribute.
|
void |
setValue(Object value)
Sets the value of this SAML attribute.
|
protected Object value_
java.lang.String
or org.w3c.Element.protected String name_
protected String namespace_
protected int addToAUTHBlock_
public ExtendedSAMLAttributeImpl(String name, Object value, String namespace, int addToAUTHBlock)
name - The name of this SAML Attribute.value - The value of this SAML Attribute. Must be either of type
java.lang.String or org.w3c.dom.Element.namespace - The namespace of this SAML Attribute.addToAUTHBlock - Specifies if this SAML Attribute should be added to the AUTHBlock.
The following values are allowed:
public Object getValue()
ExtendedSAMLAttributeorg.w3c.Element or a java.lang.String
object. Each other type will be ignored. <xsd:boolean> the value must be either the String
"true" or "false".
Or the <xsd:integer> number 273
has to be the String "273".getValue in interface ExtendedSAMLAttributenull.ExtendedSAMLAttribute.getValue()public String getName()
ExtendedSAMLAttributegetName in interface ExtendedSAMLAttributenull.ExtendedSAMLAttribute.getName()public String getNameSpace()
ExtendedSAMLAttributedefault MOA namespace URI
should be used.getNameSpace in interface ExtendedSAMLAttributenull.ExtendedSAMLAttribute.getNameSpace()public int getAddToAUTHBlock()
ExtendedSAMLAttributegetAddToAUTHBlock in interface ExtendedSAMLAttributeExtendedSAMLAttribute.getAddToAUTHBlock()public void setAddToAUTHBlock(int addToAUTHBlock)
addToAUTHBlock - One of the following values:
ExtendedSAMLAttribute.ADD_TO_AUTHBLOCK
ExtendedSAMLAttribute.NOT_ADD_TO_AUTHBLOCK
ExtendedSAMLAttribute.ADD_TO_AUTHBLOCK_ONLY
ExtendedSAMLAttribute.ADD_TO_AUTHBLOCKpublic void setName(String name)
name - The name of this SAML attribute.public void setNamespace(String namespace)
namespace - The namespace to set.public void setValue(Object value)
value - The value of this SAML Attribute. Must be either of type
java.lang.String or org.w3c.dom.Element.Copyright © 2016. All rights reserved.