@PublicAPI public class LDAPProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FALLBACK_GROUP_MEMBERSHIP
group fall back property, check user group membership group file if user is not found in corresponding LDAP group.
|
static String |
FALLBACK_TENANT_MEMBERSHIP
tenant fall back property, check user tenant membership tenant file if user is not found in LDAP or if tenant LDAP attribute is not defined.
|
static String |
FALLBACK_USER_AUTH
fall back property, check user/password and group in files if user is not found in LDAP.
|
static String |
LDAP_AUTHENTICATION_METHOD
authentication method used to connect to LDAP : none, simple or a SASL method
|
static String |
LDAP_BIND_LOGIN
login name used to perform ldap's binding
|
static String |
LDAP_BIND_PASSWD
password used to perform ldap's binding
|
static String |
LDAP_CONNECTION_POOLING
boolean defining whether the LDAP service provider has to use connection pooling or not
|
static String |
LDAP_GROUP_FILTER
Retrieves the group the user dn belongs to
pa.ldap.group.filter=(&(objectclass=groupOfUniqueNames)(uniqueMember=%s))
the %s parameter is the user dn. |
static String |
LDAP_GROUPNAME_ATTR
the attribute in the group entry that matches the jaas' group name
|
static String |
LDAP_GROUPS_SUBTREE
path in the LDAP tree groups containing
|
static String |
LDAP_GROUPSEARCH_USE_UID
use member uid in group search
|
static String |
LDAP_KEYSTORE_PASSWD
password for the keystore defined by pa.ldap.keystore.path
|
static String |
LDAP_KEYSTORE_PATH
path of the java keystore file used by LDAP module for SSL/TLS authentication
|
static String |
LDAP_START_TLS
enable starttls negociation
|
static String |
LDAP_START_TLS_ANY_CERTIFICATE |
static String |
LDAP_START_TLS_ANY_HOSTNAME |
static String |
LDAP_TENANT_ATTR
the attribute in the user entry that defines the tenant
If not defined, no tenant will be associated with the user, or tenant will be defined using the fallback method
|
static String |
LDAP_TRUSTSTORE_PASSWD
password for the truststore defined by pa.ldap.truststore.path
|
static String |
LDAP_TRUSTSTORE_PATH
path of the java truststore file used by LDAP module for SSL/TLS authentication
|
static String |
LDAP_URL
URL of a ldap used for authentication
|
static String |
LDAP_USER_FILTER
Filter that allows to find the user dn given its scheduler login
pa.ldap.user.filter=(&(objectclass=inetOrgPerson)(uid=%s))
the %s parameter is the login used during the scheduler authentication process |
static String |
LDAP_USERS_SUBTREE
path in the LDAP tree users containing
|
Constructor and Description |
---|
LDAPProperties(String propertiesFileName)
Create a new instance of LDAPProperties
|
Modifier and Type | Method and Description |
---|---|
String |
getProperty(String key)
Retrieves the value of the property
|
String |
getProperty(String key,
String defaultValue)
Retrieves the value of the property
|
public static final String LDAP_URL
public static final String LDAP_USERS_SUBTREE
public static final String LDAP_GROUPS_SUBTREE
public static final String LDAP_USER_FILTER
pa.ldap.user.filter=(&(objectclass=inetOrgPerson)(uid=%s))
the %s
parameter is the login used during the scheduler authentication processpublic static final String LDAP_GROUP_FILTER
pa.ldap.group.filter=(&(objectclass=groupOfUniqueNames)(uniqueMember=%s))
the %s
parameter is the user dn.public static final String LDAP_GROUPSEARCH_USE_UID
public static final String LDAP_GROUPNAME_ATTR
public static final String LDAP_TENANT_ATTR
public static final String LDAP_AUTHENTICATION_METHOD
public static final String LDAP_START_TLS
public static final String LDAP_START_TLS_ANY_CERTIFICATE
public static final String LDAP_START_TLS_ANY_HOSTNAME
public static final String LDAP_BIND_LOGIN
public static final String LDAP_BIND_PASSWD
public static final String LDAP_KEYSTORE_PATH
public static final String LDAP_TRUSTSTORE_PATH
public static final String LDAP_KEYSTORE_PASSWD
public static final String LDAP_TRUSTSTORE_PASSWD
public static final String LDAP_CONNECTION_POOLING
public static final String FALLBACK_USER_AUTH
public static final String FALLBACK_GROUP_MEMBERSHIP
public static final String FALLBACK_TENANT_MEMBERSHIP
public LDAPProperties(String propertiesFileName)
propertiesFileName
- properties file name