com.atlassian.jira.webtests.ztests.tpm.ldap
Class LdapOperationsHelper
java.lang.Object
com.atlassian.jira.webtests.ztests.tpm.ldap.LdapOperationsHelper
public class LdapOperationsHelper
- extends Object
LDAP helper class to simplify common operations like
creating, removing and renaming users.
- Since:
- v6.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapOperationsHelper
public LdapOperationsHelper(String server,
String userDn,
String password,
String baseDn,
boolean activeDirectory)
setupLdapContext
public DirContext setupLdapContext()
renameUser
public void renameUser(String oldName,
String newName)
throws NamingException
- Throws:
NamingException
removeUser
public void removeUser(String username)
throws NamingException
- Throws:
NamingException
getListOfUsers
public List<String> getListOfUsers()
Copyright © 2002-2014 Atlassian. All Rights Reserved.