|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is a Data Access plugin that is invoked from the DAS. The Application teams implements this interface if it desires to store the user footprint by itself.
ex.
import oracle.ldap.util.PropertySet;
import oracle.ldap.util.VarPropertySet;
public class DataAccessPluginImpl implementes IDataAccessPlugin
{
....
public PluginStatus process(ApplicationContext appCtx, IdmUser user,
ModPropertySet baseUserAttr, ModPropertySet appUserAttr)
throws PluginException
{
...
return new PluginStatus(....);
}
public PropertySet getAppUserData(ApplicationContext appCtx,
IdmUser user, String reqAttrs[]) throws PluginException;
{
...
return retPropertySet;
}
}
| Method Summary | |
PropertySet |
getAppUserData(ApplicationContext appCtx, IdmUser user, java.lang.String[] reqAttrs)The applications can return their user footprint by implementing this method. |
PluginStatus |
process(ApplicationContext appCtx, IdmUser idmUser, ModPropertySet baseUserAttr, ModPropertySet appUserAttr)The applications can create/modify/delete the user footprint by implementing this method. |
| Method Detail |
public PluginStatus process(ApplicationContext appCtx,
IdmUser idmUser,
ModPropertySet baseUserAttr,
ModPropertySet appUserAttr)
throws PluginException
appCtx - the application contextidmUser - IdmUser objectbaseUserAttr - Base user propertiesappUserAttr - App user propertiesIdmUser.PROVISION_SUCCESS or IdmUser.PROVISION_FAILURE provisioning statusPluginException - when an exception occurs.
public PropertySet getAppUserData(ApplicationContext appCtx,
IdmUser user,
java.lang.String[] reqAttrs)
throws PluginException
oracle.ldap.util.VarPropertySet as the return object
For Ex.
PropertySet retPropertySet = null;
...
...
retPropertySet = new VarPropertySet();
//Fetch the App data and add it to retPropertySet
retPropertySet.addProperty("name", "value");
...
..
return retPropertySet;
PluginException - when an exception occurs.
|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||