public class AMAuthenticationInstance extends Object
ServiceConfig
interface.Modifier | Constructor and Description |
---|---|
protected |
AMAuthenticationInstance(String name,
String type,
ServiceConfig config,
ServiceSchema global)
Constructs a module instance object.
|
Modifier and Type | Method and Description |
---|---|
Map |
getAttributeValues()
Returns the configuration attributes of the module instance.
|
Map |
getAttributeValues(Set names)
Returns the configuration attribute values for the specified attributes.
|
String |
getName()
Returns the name of the module instance.
|
ServiceConfig |
getServiceConfig()
Returns a
ServiceConfig instance which can be used to access
and make changes to the module instance configuration data. |
String |
getType()
Returns the type of the module instance.
|
void |
setAttribute(String name,
Set values)
Sets a configuration parameter with the specified value
values . |
void |
setAttributeValues(Map values)
Sets the configuration parameters.
|
protected AMAuthenticationInstance(String name, String type, ServiceConfig config, ServiceSchema global)
ModuleInstanceManager
.name
- The name of the module instance.type
- The type this module belongs to. e.g. LDAP, JDBC, etc.config
- Service configuration for the module instance.public String getName()
public String getType()
public ServiceConfig getServiceConfig()
ServiceConfig
instance which can be used to access
and make changes to the module instance configuration data.ServiceConfig
object for this module instance.public Map getAttributeValues()
public Map getAttributeValues(Set names)
names
- Set of specified attributes.public void setAttributeValues(Map values) throws SMSException, SSOException
values
, they will not be modified.values
- the Map
in which keys are the attribute names
and values are the Set
of attribute values.SMSException
- if there is an error occurred while performing the
operation.SSOException
- if the user's SSO token is invalid or expired.public void setAttribute(String name, Set values) throws SMSException, SSOException
values
.name
- the name of the attribute to be set.values
- the Set
of values for that attribute.SMSException
- if there is an error occurred while performing the
operation.SSOException
- if the user's SSO token is invalid or expired.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.