Package org.pentaho.platform.config
Class LdapConfigProperties
java.lang.Object
org.pentaho.platform.config.LdapConfigProperties
- All Implemented Interfaces:
ILdapConfig
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionLdapConfigProperties
(File propertiesFile) LdapConfigProperties
(Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setAllRolesAttribute
(String attr) void
setAllRolesSearchBase
(String base) void
setAllRolesSearchFilter
(String filter) void
setConvertUserRolesToUpperCase
(boolean convert) void
setProviderPassword
(String password) void
setProviderUrl
(String url) void
setSearchSubtreeForUserRoles
(boolean searchSubtree) void
void
setUserRolesAttribute
(String attr) void
setUserRolesPrefix
(String prefix) void
setUserRolesSearchBase
(String base) void
setUserRolesSearchFilter
(String filter) void
setUserSearchBase
(String base) void
setUserSearchFilter
(String filter)
-
Field Details
-
PROVIDER_URL_KEY
- See Also:
-
USER_DN_KEY
- See Also:
-
PROVIDER_PASSWORD_KEY
- See Also:
-
USER_SEARCH_BASE_KEY
- See Also:
-
USER_SEARCH_FILTER_KEY
- See Also:
-
CONVERT_USER_ROLES_TO_UPPERCASE_KEY
- See Also:
-
USER_ROLE_ATTRIBUTE_KEY
- See Also:
-
USER_ROLE_SEARCH_BASE_KEY
- See Also:
-
USER_ROLE_SEARCH_FILTER_KEY
- See Also:
-
USER_ROLE_PREFIX_KEY
- See Also:
-
SEARCH_SUBTREE_FOR_USER_ROLES_KEY
- See Also:
-
ALL_ROLES_ATTRIBUTE_KEY
- See Also:
-
ALL_ROLES_SEARCH_BASE_KEY
- See Also:
-
ALL_ROLES_SEARCH_FILTER_KEY
- See Also:
-
-
Constructor Details
-
LdapConfigProperties
- Throws:
IOException
-
LdapConfigProperties
- Throws:
org.dom4j.DocumentException
-
LdapConfigProperties
public LdapConfigProperties()
-
-
Method Details
-
getProperties
-
getAllRolesAttribute
- Specified by:
getAllRolesAttribute
in interfaceILdapConfig
-
getAllRolesSearchBase
- Specified by:
getAllRolesSearchBase
in interfaceILdapConfig
-
getAllRolesSearchFilter
- Specified by:
getAllRolesSearchFilter
in interfaceILdapConfig
-
getConvertUserRolesToUpperCase
public boolean getConvertUserRolesToUpperCase()- Specified by:
getConvertUserRolesToUpperCase
in interfaceILdapConfig
-
getProviderPassword
- Specified by:
getProviderPassword
in interfaceILdapConfig
-
getProviderUrl
- Specified by:
getProviderUrl
in interfaceILdapConfig
-
getSearchSubtreeForUserRoles
public boolean getSearchSubtreeForUserRoles()- Specified by:
getSearchSubtreeForUserRoles
in interfaceILdapConfig
-
getUserDn
- Specified by:
getUserDn
in interfaceILdapConfig
-
getUserRolesAttribute
- Specified by:
getUserRolesAttribute
in interfaceILdapConfig
-
getUserRolesPrefix
- Specified by:
getUserRolesPrefix
in interfaceILdapConfig
-
getUserRolesSearchBase
- Specified by:
getUserRolesSearchBase
in interfaceILdapConfig
-
getUserRolesSearchFilter
- Specified by:
getUserRolesSearchFilter
in interfaceILdapConfig
-
getUserSearchBase
- Specified by:
getUserSearchBase
in interfaceILdapConfig
-
getUserSearchFilter
- Specified by:
getUserSearchFilter
in interfaceILdapConfig
-
setAllRolesAttribute
- Specified by:
setAllRolesAttribute
in interfaceILdapConfig
-
setAllRolesSearchBase
- Specified by:
setAllRolesSearchBase
in interfaceILdapConfig
-
setAllRolesSearchFilter
- Specified by:
setAllRolesSearchFilter
in interfaceILdapConfig
-
setConvertUserRolesToUpperCase
public void setConvertUserRolesToUpperCase(boolean convert) - Specified by:
setConvertUserRolesToUpperCase
in interfaceILdapConfig
-
setProviderPassword
- Specified by:
setProviderPassword
in interfaceILdapConfig
-
setProviderUrl
- Specified by:
setProviderUrl
in interfaceILdapConfig
-
setSearchSubtreeForUserRoles
public void setSearchSubtreeForUserRoles(boolean searchSubtree) - Specified by:
setSearchSubtreeForUserRoles
in interfaceILdapConfig
-
setUserDn
- Specified by:
setUserDn
in interfaceILdapConfig
-
setUserRolesAttribute
- Specified by:
setUserRolesAttribute
in interfaceILdapConfig
-
setUserRolesPrefix
- Specified by:
setUserRolesPrefix
in interfaceILdapConfig
-
setUserRolesSearchBase
- Specified by:
setUserRolesSearchBase
in interfaceILdapConfig
-
setUserRolesSearchFilter
- Specified by:
setUserRolesSearchFilter
in interfaceILdapConfig
-
setUserSearchBase
- Specified by:
setUserSearchBase
in interfaceILdapConfig
-
setUserSearchFilter
- Specified by:
setUserSearchFilter
in interfaceILdapConfig
-