Class JeeAuthenticator
java.lang.Object
org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
org.frankframework.lifecycle.servlets.JeeAuthenticator
- All Implemented Interfaces:
IAuthenticator
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
Authenticator for J2EE authentication.
This authenticator can be used to authenticate users using J2EE authentication. It delegates authentication to the Java EE container, using container-managed security defined in web.xml or through other container-specific mechanisms.
The authenticator extracts security roles from the container and maps them to Frank! Framework roles. No additional login form is required, as authentication is handled entirely by the container.
This authenticator should be configured by setting its type to 'CONTAINER', for example:
application.security.console.authentication.type=CONTAINER
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
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
-
JeeAuthenticator
public JeeAuthenticator()
-
-
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
-