Class LDAPProvider
java.lang.Object
com.tremolosecurity.provisioning.core.providers.LDAPProvider
- All Implemented Interfaces:
LDAPInterface,UserStoreProvider,UserStoreProviderWithAddGroup
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroup(String name, Map<String, String> additionalAttributes, User user, Map<String, Object> request) voidvoidvoiddeleteUser(User user, Map<String, Object> request) Retrieve the LDAP connection from the target, make sure to close the connection when donevoidbooleanvoidsetUserPassword(User user, Map<String, Object> request) voidshutdown()void
-
Field Details
-
NEW_USER_DN
- See Also:
-
-
Constructor Details
-
LDAPProvider
public LDAPProvider()
-
-
Method Details
-
getLocalConnection
Description copied from interface:LDAPInterfaceRetrieve the LDAP connection from the target, make sure to close the connection when done- Specified by:
getLocalConnectionin interfaceLDAPInterface- Returns:
- Throws:
ProvisioningException
-
createUser
public void createUser(User user, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
createUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
syncUser
public void syncUser(User user, boolean fromUserOnly, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
syncUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
deleteUser
- Specified by:
deleteUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
findUser
public User findUser(String userID, Set<String> attributes, Map<String, Object> request) throws ProvisioningException- Specified by:
findUserin interfaceUserStoreProvider- Throws:
ProvisioningException
-
init
public void init(Map<String, Attribute> cfg, ConfigManager cfgMgr, String name) throws ProvisioningException- Specified by:
initin interfaceUserStoreProvider- Throws:
ProvisioningException
-
setUserPassword
- Specified by:
setUserPasswordin interfaceUserStoreProvider- Throws:
ProvisioningException
-
addGroup
public void addGroup(String name, Map<String, String> additionalAttributes, User user, Map<String, throws ProvisioningExceptionObject> request) - Specified by:
addGroupin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
deleteGroup
public void deleteGroup(String name, User user, Map<String, Object> request) throws ProvisioningException- Specified by:
deleteGroupin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
isGroupExists
public boolean isGroupExists(String name, User user, Map<String, Object> request) throws ProvisioningException- Specified by:
isGroupExistsin interfaceUserStoreProviderWithAddGroup- Throws:
ProvisioningException
-
getSearchBase
-
shutdown
- Specified by:
shutdownin interfaceUserStoreProvider- Throws:
ProvisioningException
-