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 Details

    • 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