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
ConstructorDescriptionContextConfigurationContextSettings
(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:
getPooled
in interfaceContextSettings
- Returns:
- True if the context should be pooled
-
getFactory
- Specified by:
getFactory
in interfaceContextSettings
- Returns:
- The factory class
-
getUrl
- Specified by:
getUrl
in interfaceContextSettings
- Returns:
- The URL of the LDAP server
-
getDn
- Specified by:
getDn
in interfaceContextSettings
- Returns:
- The user DN to bind with
-
getPassword
- Specified by:
getPassword
in interfaceContextSettings
- Returns:
- The password to bind with
-
getAdditionalProperties
- Specified by:
getAdditionalProperties
in interfaceContextSettings
- Returns:
- Any additional properties
-