public interface IDataAccessPlugin
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; } }
Modifier and Type | Method and Description |
---|---|
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.
|
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.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.