|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nim.NiMKernelService
com.nitido.nim.DataControlService
com.nitido.nimx.services.simbackend.DataControlServiceImpl
public class DataControlServiceImpl
This implementation of DataControlService simulates accessing and modifying a backend store with configurable list of user profile attributes to be stored in the backend store. In other words, it simulates the profile map implementation of DataControlService without the real connection.
Field Summary | |
---|---|
static java.lang.String |
CONF_KEY_ALLOW_ALL
The configuration key for indicating if the simulator backend will allow all login and binding without being provisioned before. |
static java.lang.String |
CONF_KEY_PREFIX_ATTRIBUTEMAP
The configuration key prefix for the mapping settings from a user space key to a LDAP attribute name. |
static java.lang.String |
CONF_KEY_PREFIX_NUGGETSETTING
The key prefix of the nugget settings information. |
static java.lang.String |
CONF_KEY_PREFIX_NUGGETTYPE
The key prefix of the nugget class information. |
static java.lang.String |
CONF_KEY_PREFIX_TYPEMAP
The configuration key prefix for the mapping settings from a user space key to a LDAP attribute name. |
static int |
LEN_CONF_KEY_PREFIX_TYPEMAP
The length of the string CONF_KEY_PREFIX_TYPEMAP. |
Fields inherited from interface com.nitido.nim.CredentialConstants |
---|
CRED_ADMIN, CRED_CONTAINER, CRED_HELPDESK, CRED_SYSTEM, CRED_USER, KEY_PASSWORD |
Constructor Summary | |
---|---|
DataControlServiceImpl(NiMKernelServiceVisa visa)
This class constructor is used by NiMKernel to instantiate a new DataControlService. |
Method Summary | |
---|---|
DataControl |
getDataControl(Credential credential)
This method is a factory method for DataControl objects. |
protected void |
init(NiMKernel kernel,
ConfigurationService confService)
This method is used by the kernel to initialize the DataControlService. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CONF_KEY_ALLOW_ALL
public static final java.lang.String CONF_KEY_PREFIX_ATTRIBUTEMAP
public static final java.lang.String CONF_KEY_PREFIX_NUGGETTYPE
public static final java.lang.String CONF_KEY_PREFIX_NUGGETSETTING
public static final java.lang.String CONF_KEY_PREFIX_TYPEMAP
public static final int LEN_CONF_KEY_PREFIX_TYPEMAP
Constructor Detail |
---|
public DataControlServiceImpl(NiMKernelServiceVisa visa)
visa
- Reference to the NiMKernelServiceVisa object required to
instantiate the service. This parameter is required to
ensure that only the NiMkernel can instantiate a reference
to this service.Method Detail |
---|
protected void init(NiMKernel kernel, ConfigurationService confService) throws InitializationFailedException, NiMException
init
in class DataControlService
kernel
- Reference to the kernel that instantiated this service.confService
- A reference to the ConfigurationService.
This service expects the following configurations:
InitializationFailedException
- If unable to initialize the DataControlService. This
exception is thrown by this service implementation if any of
the expected settings are not available.
NiMException
- This exception is never thrown by this service implementationpublic DataControl getDataControl(Credential credential) throws IllegalCredentialException, DataControlException
DataControlService
getDataControl
in class DataControlService
credential
- The credential used by the DataControl to access the
back-end data.
IllegalCredentialException
- If the given credential is not valid.
DataControlException
- If the DataControl service is unable to establish a
connection with the back-end data services.
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.