Class AdminSecurityConfiguration

java.lang.Object
org.openwms.core.admin.app.AdminSecurityConfiguration
All Implemented Interfaces:
org.springframework.web.reactive.config.WebFluxConfigurer

@Configuration @EnableWebFluxSecurity class AdminSecurityConfiguration extends Object implements org.springframework.web.reactive.config.WebFluxConfigurer
A AdminSecurityConfiguration configures Spring Security of this service.
Author:
Heiko Scherrer
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final de.codecentric.boot.admin.server.config.AdminServerProperties
     
    private String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdminSecurityConfiguration(de.codecentric.boot.admin.server.config.AdminServerProperties adminServer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private org.springframework.security.web.server.authentication.ServerAuthenticationSuccessHandler
     
    private org.springframework.security.web.server.authentication.logout.ServerLogoutSuccessHandler
     
    org.springframework.security.web.server.SecurityWebFilterChain
    securityWebFilterChainSecure(org.springframework.security.config.web.server.ServerHttpSecurity http)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.reactive.config.WebFluxConfigurer

    addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, configureArgumentResolvers, configureBlockingExecution, configureContentTypeResolver, configureHttpMessageCodecs, configurePathMatching, configureViewResolvers, getMessageCodesResolver, getValidator, getWebSocketService
  • Field Details

    • adminServer

      private final de.codecentric.boot.admin.server.config.AdminServerProperties adminServer
    • startPage

      @Value("${owms.admin.start-page}") private String startPage
  • Constructor Details

    • AdminSecurityConfiguration

      public AdminSecurityConfiguration(de.codecentric.boot.admin.server.config.AdminServerProperties adminServer)
  • Method Details

    • securityWebFilterChainSecure

      @Bean public org.springframework.security.web.server.SecurityWebFilterChain securityWebFilterChainSecure(org.springframework.security.config.web.server.ServerHttpSecurity http)
    • logoutSuccessHandler

      private org.springframework.security.web.server.authentication.logout.ServerLogoutSuccessHandler logoutSuccessHandler(String uri)
    • loginSuccessHandler

      private org.springframework.security.web.server.authentication.ServerAuthenticationSuccessHandler loginSuccessHandler(String uri)