Class ActiveDirectoryAuthenticator
java.lang.Object
org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
org.frankframework.lifecycle.servlets.ActiveDirectoryAuthenticator
- All Implemented Interfaces:
IAuthenticator
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Authenticator for Microsoft Active Directory using LDAP.
This authenticator uses Active Directory to authenticate users. It also provides a way to map LDAP roles to Frank roles using a properties file, by default the `ldap-role-mapping.properties`.
This authenticator should be configured by setting its type to 'AD', for example:
application.security.console.authentication.type=AD
application.security.console.authentication.baseDn=DC=company,DC=org
application.security.console.authentication.url=ldap://10.1.2.3
-
Field Summary
Fields inherited from class org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
ALLOW_OPTIONS_REQUESTS_KEY, DEFAULT_IBIS_ROLES, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChain
configure
(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Before building, configure the FilterChain.Methods inherited from class org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
build, configureHttpSecurity, getAuthorizationManager, getEnvironmentProperties, getPrivateEndpoints, registerServlet, setApplicationContext
-
Constructor Details
-
ActiveDirectoryAuthenticator
public ActiveDirectoryAuthenticator()
-
-
Method Details
-
configure
public org.springframework.security.web.SecurityFilterChain configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception Description copied from class:AbstractServletAuthenticator
Before building, configure the FilterChain.- Specified by:
configure
in classAbstractServletAuthenticator
- Throws:
Exception
-