Package org.alfresco.utility.data.auth
Class DataKerberos.Builder
java.lang.Object
org.alfresco.utility.data.auth.DataKerberos.Builder
- All Implemented Interfaces:
UserManageable
- Enclosing class:
- DataKerberos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassertUserExists(UserModel user) assertUserIsDisabled(UserModel user, DataKerberos.UserAccountControlValue userAccountControlValue) assertUserIsEnabled(UserModel user, DataKerberos.UserAccountControlValue userAccountControlValue) createUser(UserModel user) deleteUser(UserModel user) disableUser(UserModel user) enableUser(UserModel user) searchForObjectClass(String name, org.alfresco.utility.data.auth.DataLDAP.ObjectType typeOfClass) updateUser(UserModel user, HashMap<String, String> attributes)
-
Constructor Details
-
Builder
- Throws:
NamingException
-
-
Method Details
-
createUser
public DataKerberos.Builder createUser(UserModel user) throws NamingException, UnsupportedEncodingException - Specified by:
createUserin interfaceUserManageable- Throws:
NamingExceptionUnsupportedEncodingException
-
searchForObjectClass
public SearchResult searchForObjectClass(String name, org.alfresco.utility.data.auth.DataLDAP.ObjectType typeOfClass) throws NamingException - Throws:
NamingException
-
deleteUser
- Specified by:
deleteUserin interfaceUserManageable- Throws:
NamingException
-
updateUser
public UserManageable updateUser(UserModel user, HashMap<String, String> attributes) throws NamingException, UnsupportedEncodingException- Specified by:
updateUserin interfaceUserManageable- Throws:
NamingExceptionUnsupportedEncodingException
-
disableUser
- Throws:
NamingException
-
enableUser
- Throws:
NamingException
-
assertUserExists
- Specified by:
assertUserExistsin interfaceUserManageable- Throws:
NamingException
-
assertUserDoesNotExist
public UserManageable assertUserDoesNotExist(UserModel user) throws NamingException, TestStepException - Specified by:
assertUserDoesNotExistin interfaceUserManageable- Throws:
NamingExceptionTestStepException
-
assertUserIsDisabled
public DataKerberos.Builder assertUserIsDisabled(UserModel user, DataKerberos.UserAccountControlValue userAccountControlValue) throws NamingException - Throws:
NamingException
-
assertUserIsEnabled
public DataKerberos.Builder assertUserIsEnabled(UserModel user, DataKerberos.UserAccountControlValue userAccountControlValue) throws NamingException - Throws:
NamingException
-