Class NoOpAuthenticator
java.lang.Object
org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
org.frankframework.lifecycle.servlets.NoOpAuthenticator
- All Implemented Interfaces:
IAuthenticator
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
NoOp authenticator, all requests are allowed.
This authenticator is used to allow all requests without authentication.
This is useful for testing purposes or when no authentication is required.
This authenticator should be configured by setting its type to 'NONE', for example:
application.security.console.authentication.type=NONE
-
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.protected org.springframework.security.authorization.AuthorizationManager
<org.springframework.security.web.access.intercept.RequestAuthorizationContext> AuthorizationManager to use for theIAuthenticator
.Methods inherited from class org.frankframework.lifecycle.servlets.AbstractServletAuthenticator
build, configureHttpSecurity, getEnvironmentProperties, getPrivateEndpoints, registerServlet, setApplicationContext
-
Constructor Details
-
NoOpAuthenticator
public NoOpAuthenticator()
-
-
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
-
getAuthorizationManager
protected org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext> getAuthorizationManager()Description copied from class:AbstractServletAuthenticator
AuthorizationManager to use for theIAuthenticator
.- Overrides:
getAuthorizationManager
in classAbstractServletAuthenticator
-