Class ContextConfigurationContextSettings
java.lang.Object
io.micronaut.security.ldap.context.ContextConfigurationContextSettings
- All Implemented Interfaces:
ContextSettings
Implementation of
ContextSettings that derives its values from
an instance of LdapConfiguration.- Since:
- 1.0
- Author:
- James Kleeh
-
Constructor Summary
ConstructorsConstructorDescriptionContextConfigurationContextSettings(LdapConfiguration configuration) ContextConfigurationContextSettings(LdapConfiguration configuration, String dn, String password) -
Method Summary
-
Constructor Details
-
ContextConfigurationContextSettings
- Parameters:
configuration- The ldap configuration
-
ContextConfigurationContextSettings
public ContextConfigurationContextSettings(LdapConfiguration configuration, String dn, String password) - Parameters:
configuration- The ldap configurationdn- The user DN to bind withpassword- The password to bind with
-
-
Method Details
-
getPooled
public boolean getPooled()- Specified by:
getPooledin interfaceContextSettings- Returns:
- True if the context should be pooled
-
getFactory
- Specified by:
getFactoryin interfaceContextSettings- Returns:
- The factory class
-
getUrl
- Specified by:
getUrlin interfaceContextSettings- Returns:
- The URL of the LDAP server
-
getDn
- Specified by:
getDnin interfaceContextSettings- Returns:
- The user DN to bind with
-
getPassword
- Specified by:
getPasswordin interfaceContextSettings- Returns:
- The password to bind with
-
getAdditionalProperties
- Specified by:
getAdditionalPropertiesin interfaceContextSettings- Returns:
- Any additional properties
-