Class LdapEnv
- java.lang.Object
-
- org.jenkinsci.test.acceptance.plugins.ldap.LdapEnv
-
public class LdapEnv extends Object
Thread-unsafe singleton serving ldap-prefixed test env args.- Author:
- Bowen.Cheng@ericsson.com
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroup()
static LdapDetails
getLdapDetails()
static LdapEnv
getLdapEnv()
String
getPassword()
String
getUser()
-
-
-
Method Detail
-
getLdapEnv
public static LdapEnv getLdapEnv()
- Returns:
- Existing ldapEnv object or a newly constructed one with given environment variables
-
getLdapDetails
public static LdapDetails getLdapDetails()
- Returns:
- Existing ldapDetails object or a newly constructed one with given environment variables
-
getUser
public String getUser()
- Returns:
- user name by "-ldapUser" attribute
-
getPassword
public String getPassword()
- Returns:
- password used for logging in by "-ldapPassword" attribute
-
getGroup
public String getGroup()
- Returns:
- user group by "-ldapGroup" attribute
-
-