|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainDriver
Field Summary | |
---|---|
static long |
ACTION_CREATE_GROUP
Create Group action Mask |
static long |
ACTION_CREATE_USER
Create User action Mask |
static long |
ACTION_DELETE_GROUP
Delete Group action Mask |
static long |
ACTION_DELETE_USER
Delete User action Mask |
static long |
ACTION_EDIT_USER_IN_GROUP
Add/Remove User from group action Mask |
static long |
ACTION_IMPORT_GROUP
Add a group in Silverpeas DB by synchronization with a reference LDAP DB |
static long |
ACTION_IMPORT_USER
Add a user in Silverpeas DB by synchronization with a reference LDAP DB |
static long |
ACTION_MASK_ALL
All available actions Mask |
static long |
ACTION_MASK_MIXED_GROUPS
|
static long |
ACTION_MASK_RO
|
static long |
ACTION_MASK_RW
|
static long |
ACTION_NONE
No possible actions Mask |
static long |
ACTION_READ_GROUP
Read Groups' infos action Mask |
static long |
ACTION_READ_USER
Read Users' infos action Mask |
static long |
ACTION_REMOVE_GROUP
Remove group entry from Silverpeas |
static long |
ACTION_REMOVE_USER
Remove user entry from Silverpeas |
static long |
ACTION_SYNCHRO_GROUP
Updates group Silverpeas infos from LDAP DB |
static long |
ACTION_SYNCHRO_USER
Updates user Silverpeas infos from LDAP DB |
static long |
ACTION_UPDATE_GROUP
Update Groups' infos action Mask |
static long |
ACTION_UPDATE_USER
Update Users' infos action Mask |
static long |
ACTION_X509_USER
Create a x509 certificate and store it in server's truststore |
Field Detail |
---|
static final long ACTION_NONE
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_READ_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_READ_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_UPDATE_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_UPDATE_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_CREATE_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_CREATE_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_DELETE_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_DELETE_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_EDIT_USER_IN_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_IMPORT_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_SYNCHRO_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_REMOVE_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_IMPORT_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_SYNCHRO_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_REMOVE_GROUP
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_X509_USER
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_MASK_ALL
getDriverActions()
,
Constant Field Valuesstatic final long ACTION_MASK_RW
static final long ACTION_MASK_RO
static final long ACTION_MASK_MIXED_GROUPS
Method Detail |
---|
void init(int domainId, String initParam, String authenticationServer) throws Exception
Exception
String[] getPropertiesNames()
DomainProperty getProperty(String propName)
String[] getMapParameters()
List<DomainProperty> getPropertiesToImport(String language)
void addPropertiesToImport(List<DomainProperty> props)
void addPropertiesToImport(List<DomainProperty> props, Map<String,String> theDescriptions)
Map<String,String> getPropertiesLabels(String language)
Map<String,String> getPropertiesDescriptions(String language)
void initFromProperties(ResourceLocator rs) throws Exception
Exception
long getDriverActions()
boolean isSynchroOnLoginEnabled()
boolean isSynchroThreaded()
boolean isSynchroOnLoginRecursToGroups()
boolean isGroupsInheritProfiles()
boolean mustImportUsers()
String getTimeStamp(String minTimeStamp) throws Exception
Exception
String getTimeStampField() throws Exception
Exception
boolean isX509CertificateEnabled()
UserDetail[] getAllChangedUsers(String fromTimeStamp, String toTimeStamp) throws Exception
Exception
Group[] getAllChangedGroups(String fromTimeStamp, String toTimeStamp) throws Exception
Exception
void beginSynchronization() throws Exception
Exception
boolean isSynchroInProcess() throws Exception
Exception
String endSynchronization(boolean cancelSynchro) throws Exception
Exception
UserDetail importUser(String userLogin) throws Exception
Exception
void removeUser(String userId) throws Exception
Exception
UserDetail synchroUser(String userId) throws Exception
Exception
String createUser(UserDetail user) throws Exception
Exception
void deleteUser(String userId) throws Exception
Exception
void updateUserFull(UserFull user) throws Exception
Exception
void updateUserDetail(UserDetail user) throws Exception
Exception
UserDetail getUser(String userId) throws Exception
Exception
UserFull getUserFull(String userId) throws Exception
userId
- The user id as stored in the database
Exception
String[] getUserMemberGroupIds(String userId) throws Exception
Exception
UserDetail[] getAllUsers() throws Exception
Exception
UserDetail[] getUsersBySpecificProperty(String propertyName, String value) throws Exception
Exception
UserDetail[] getUsersByQuery(Map<String,String> query) throws Exception
Exception
Group importGroup(String groupName) throws Exception
Exception
void removeGroup(String groupId) throws Exception
Exception
Group synchroGroup(String groupId) throws Exception
Exception
String createGroup(Group m_Group) throws Exception
Exception
void deleteGroup(String groupId) throws Exception
Exception
void updateGroup(Group m_Group) throws Exception
Exception
Group getGroup(String groupId) throws Exception
Exception
Group getGroupByName(String groupName) throws Exception
Exception
Group[] getGroups(String groupId) throws Exception
Exception
Group[] getAllGroups() throws Exception
Exception
Group[] getAllRootGroups() throws Exception
Exception
String[] getGroupMemberGroupIds(String groupId) throws Exception
Exception
void startTransaction(boolean bAutoCommit)
void commit() throws Exception
Exception
void rollback() throws Exception
Exception
List<String> getUserAttributes() throws Exception
Exception
void resetPassword(UserDetail user, String password) throws Exception
Exception
void resetEncryptedPassword(UserDetail user, String encryptedPassword) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |