public class LdapConfigProperties extends Object implements ILdapConfig
Modifier and Type | Field and Description |
---|---|
static String |
ALL_ROLES_ATTRIBUTE_KEY |
static String |
ALL_ROLES_SEARCH_BASE_KEY |
static String |
ALL_ROLES_SEARCH_FILTER_KEY |
static String |
CONVERT_USER_ROLES_TO_UPPERCASE_KEY |
static String |
PROVIDER_PASSWORD_KEY |
static String |
PROVIDER_URL_KEY |
static String |
SEARCH_SUBTREE_FOR_USER_ROLES_KEY |
static String |
USER_DN_KEY |
static String |
USER_ROLE_ATTRIBUTE_KEY |
static String |
USER_ROLE_PREFIX_KEY |
static String |
USER_ROLE_SEARCH_BASE_KEY |
static String |
USER_ROLE_SEARCH_FILTER_KEY |
static String |
USER_SEARCH_BASE_KEY |
static String |
USER_SEARCH_FILTER_KEY |
Constructor and Description |
---|
LdapConfigProperties() |
LdapConfigProperties(File propertiesFile) |
LdapConfigProperties(Properties properties) |
public static final String PROVIDER_URL_KEY
public static final String USER_DN_KEY
public static final String PROVIDER_PASSWORD_KEY
public static final String USER_SEARCH_BASE_KEY
public static final String USER_SEARCH_FILTER_KEY
public static final String CONVERT_USER_ROLES_TO_UPPERCASE_KEY
public static final String USER_ROLE_ATTRIBUTE_KEY
public static final String USER_ROLE_SEARCH_BASE_KEY
public static final String USER_ROLE_SEARCH_FILTER_KEY
public static final String USER_ROLE_PREFIX_KEY
public static final String SEARCH_SUBTREE_FOR_USER_ROLES_KEY
public static final String ALL_ROLES_ATTRIBUTE_KEY
public static final String ALL_ROLES_SEARCH_BASE_KEY
public static final String ALL_ROLES_SEARCH_FILTER_KEY
public LdapConfigProperties(File propertiesFile) throws IOException
IOException
public LdapConfigProperties(Properties properties) throws org.dom4j.DocumentException
org.dom4j.DocumentException
public LdapConfigProperties()
public Properties getProperties()
public String getAllRolesAttribute()
getAllRolesAttribute
in interface ILdapConfig
public String getAllRolesSearchBase()
getAllRolesSearchBase
in interface ILdapConfig
public String getAllRolesSearchFilter()
getAllRolesSearchFilter
in interface ILdapConfig
public boolean getConvertUserRolesToUpperCase()
getConvertUserRolesToUpperCase
in interface ILdapConfig
public String getProviderPassword()
getProviderPassword
in interface ILdapConfig
public String getProviderUrl()
getProviderUrl
in interface ILdapConfig
public boolean getSearchSubtreeForUserRoles()
getSearchSubtreeForUserRoles
in interface ILdapConfig
public String getUserDn()
getUserDn
in interface ILdapConfig
public String getUserRolesAttribute()
getUserRolesAttribute
in interface ILdapConfig
public String getUserRolesPrefix()
getUserRolesPrefix
in interface ILdapConfig
public String getUserRolesSearchBase()
getUserRolesSearchBase
in interface ILdapConfig
public String getUserRolesSearchFilter()
getUserRolesSearchFilter
in interface ILdapConfig
public String getUserSearchBase()
getUserSearchBase
in interface ILdapConfig
public String getUserSearchFilter()
getUserSearchFilter
in interface ILdapConfig
public void setAllRolesAttribute(String attr)
setAllRolesAttribute
in interface ILdapConfig
public void setAllRolesSearchBase(String base)
setAllRolesSearchBase
in interface ILdapConfig
public void setAllRolesSearchFilter(String filter)
setAllRolesSearchFilter
in interface ILdapConfig
public void setConvertUserRolesToUpperCase(boolean convert)
setConvertUserRolesToUpperCase
in interface ILdapConfig
public void setProviderPassword(String password)
setProviderPassword
in interface ILdapConfig
public void setProviderUrl(String url)
setProviderUrl
in interface ILdapConfig
public void setSearchSubtreeForUserRoles(boolean searchSubtree)
setSearchSubtreeForUserRoles
in interface ILdapConfig
public void setUserDn(String userDn)
setUserDn
in interface ILdapConfig
public void setUserRolesAttribute(String attr)
setUserRolesAttribute
in interface ILdapConfig
public void setUserRolesPrefix(String prefix)
setUserRolesPrefix
in interface ILdapConfig
public void setUserRolesSearchBase(String base)
setUserRolesSearchBase
in interface ILdapConfig
public void setUserRolesSearchFilter(String filter)
setUserRolesSearchFilter
in interface ILdapConfig
public void setUserSearchBase(String base)
setUserSearchBase
in interface ILdapConfig
public void setUserSearchFilter(String filter)
setUserSearchFilter
in interface ILdapConfig
Copyright © 2017 Hitachi Vantara. All rights reserved.