|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimx.services.simbackend.BackendStore
public class BackendStore
This simulates the backend BackendStore.
You can access the methods on this store to check if the data has been stored correctly.
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. |
Method Summary | |
---|---|
protected void |
authenticate(Credential cred)
|
protected void |
bind(Credential cred)
|
protected void |
changeCredential(Credential oldCred,
Credential newCred)
|
protected void |
deprovisionEntity(Credential targetCred)
Deprovision the entity. |
protected static BackendStore |
getInstance()
This factory method returns an instance of BackendStore. |
protected java.io.Serializable |
getValueFromUserProfile(Credential cred,
java.lang.String userSpaceKey)
|
protected java.util.Vector |
getValuesVectorFromUserProfile(Credential cred,
java.lang.String userSpaceKey)
|
protected static BackendStore |
initStore(ConfigurationService confService)
Used to initialize this backend store. |
protected boolean |
isProvisioned(Credential targetCred)
|
protected void |
modifyUserProfile(Credential cred,
Modifier modifier)
|
protected void |
provisionEntity(EntityProvisionDescriptor descriptor)
This method is used to provision a new entity and stored in memory. |
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
Method Detail |
---|
protected static BackendStore initStore(ConfigurationService confService)
protected static BackendStore getInstance()
protected void provisionEntity(EntityProvisionDescriptor descriptor) throws java.lang.IllegalArgumentException, EntityProvisionException, PermissionDeniedException, NiMException
descriptor
- The entity descriptor is data container that holds all the
information necessary to provision the required Entity
java.lang.IllegalArgumentException
- If any of the given arguments are null.
EntityProvisionException
- If unable to cprovision the entity due to inconsistencies
on the data in the EntityProvisionDescriptor and the
back-end requirements.
PermissionDeniedException
- If given Entity does not have permission to perform the
required action.
NiMException
- If unable to establish a connection with the back-end
provisioning service.protected void deprovisionEntity(Credential targetCred) throws java.lang.IllegalArgumentException, PermissionDeniedException, NiMException
java.lang.IllegalArgumentException
PermissionDeniedException
NiMException
protected boolean isProvisioned(Credential targetCred)
protected void authenticate(Credential cred) throws AuthenticationFailedException, NiMException
AuthenticationFailedException
NiMException
protected void bind(Credential cred) throws IllegalCredentialException
IllegalCredentialException
protected void modifyUserProfile(Credential cred, Modifier modifier) throws DataControlException
DataControlException
protected java.io.Serializable getValueFromUserProfile(Credential cred, java.lang.String userSpaceKey)
protected java.util.Vector getValuesVectorFromUserProfile(Credential cred, java.lang.String userSpaceKey)
protected void changeCredential(Credential oldCred, Credential newCred) throws IllegalCredentialException
IllegalCredentialException
|
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.