public abstract class ServletAuthenticatorBase extends Object implements IAuthenticator, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOW_OPTIONS_REQUESTS_KEY |
static List<String> |
DEFAULT_IBIS_ROLES |
protected org.apache.logging.log4j.Logger |
log |
| Constructor and Description |
|---|
ServletAuthenticatorBase() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
authorizationRequestMatcher(javax.servlet.http.HttpServletRequest request)
RequestMatcher which determines when a client has to log in.
|
void |
build() |
protected abstract org.springframework.security.web.SecurityFilterChain |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Before building, configure the FilterChain.
|
org.springframework.security.web.SecurityFilterChain |
configureHttpSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Spring invoked HttpSecurity
|
org.springframework.context.ApplicationContext |
getApplicationContext() |
protected Properties |
getEnvironmentProperties() |
protected Set<String> |
getPrivateEndpoints()
List of endpoints as well as potential exclusions.
|
Set<String> |
getSecurityRoles() |
void |
registerServlet(ServletConfiguration config) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static final String ALLOW_OPTIONS_REQUESTS_KEY
protected final org.apache.logging.log4j.Logger log
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwareprotected final Properties getEnvironmentProperties()
public final void registerServlet(ServletConfiguration config)
registerServlet in interface IAuthenticatorprotected Set<String> getPrivateEndpoints()
public void build()
build in interface IAuthenticatorpublic org.springframework.security.web.SecurityFilterChain configureHttpSecurity(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
IAuthenticatorconfigureHttpSecurity in interface IAuthenticatorprotected boolean authorizationRequestMatcher(javax.servlet.http.HttpServletRequest request)
protected abstract org.springframework.security.web.SecurityFilterChain configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
Exceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2023 Frank!Framework. All rights reserved.