Class ServletConfigurationSupport
java.lang.Object
com.c4_soft.springaddons.security.oidc.starter.synchronised.ServletConfigurationSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.config.annotation.web.builders.HttpSecurityconfigureAccess(org.springframework.security.config.annotation.web.builders.HttpSecurity http, List<String> permitAll, List<CorsProperties> corsProperties, ExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor) static org.springframework.security.config.annotation.web.builders.HttpSecurityconfigureClient(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringAddonsOidcProperties addonsProperties, ClientExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor, ClientSynchronizedHttpSecurityPostProcessor httpPostProcessor) static org.springframework.security.config.annotation.web.builders.HttpSecurityconfigureResourceServer(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringAddonsOidcProperties addonsProperties, ResourceServerExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor, ResourceServerSynchronizedHttpSecurityPostProcessor httpPostProcessor) static org.springframework.security.config.annotation.web.builders.HttpSecurityconfigureState(org.springframework.security.config.annotation.web.builders.HttpSecurity http, boolean isStatless, Csrf csrfEnum, String csrfCookieName, String csrfCookiePath) static org.springframework.web.filter.CorsFiltergetCorsFilterBean(List<CorsProperties> corsProperties)
-
Constructor Details
-
ServletConfigurationSupport
public ServletConfigurationSupport()
-
-
Method Details
-
configureResourceServer
public static org.springframework.security.config.annotation.web.builders.HttpSecurity configureResourceServer(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringAddonsOidcProperties addonsProperties, ResourceServerExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor, ResourceServerSynchronizedHttpSecurityPostProcessor httpPostProcessor) throws Exception - Throws:
Exception
-
configureClient
public static org.springframework.security.config.annotation.web.builders.HttpSecurity configureClient(org.springframework.security.config.annotation.web.builders.HttpSecurity http, org.springframework.boot.autoconfigure.web.ServerProperties serverProperties, SpringAddonsOidcProperties addonsProperties, ClientExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor, ClientSynchronizedHttpSecurityPostProcessor httpPostProcessor) throws Exception - Throws:
Exception
-
configureAccess
public static org.springframework.security.config.annotation.web.builders.HttpSecurity configureAccess(org.springframework.security.config.annotation.web.builders.HttpSecurity http, List<String> permitAll, List<CorsProperties> corsProperties, ExpressionInterceptUrlRegistryPostProcessor authorizePostProcessor) throws Exception - Throws:
Exception
-
getCorsFilterBean
public static org.springframework.web.filter.CorsFilter getCorsFilterBean(List<CorsProperties> corsProperties) -
configureState
public static org.springframework.security.config.annotation.web.builders.HttpSecurity configureState(org.springframework.security.config.annotation.web.builders.HttpSecurity http, boolean isStatless, Csrf csrfEnum, String csrfCookieName, String csrfCookiePath) throws Exception - Throws:
Exception
-