Class WebSecurityConfig
java.lang.Object
io.meeds.dapp.web.security.WebSecurityConfig
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware
@Configuration
@EnableWebSecurity
@EnableMethodSecurity(prePostEnabled=true,
securedEnabled=true,
jsr250Enabled=true)
public class WebSecurityConfig
extends Object
implements org.springframework.web.context.ServletContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.web.SecurityFilterChainfilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, DeedAuthenticationProvider authProvider, DeedAccessDeniedHandler deedAccessDeniedHandler) static org.springframework.security.config.core.GrantedAuthorityDefaultsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.web.context.ServletContextAware
setServletContext
-
Constructor Details
-
WebSecurityConfig
public WebSecurityConfig()
-
-
Method Details
-
grantedAuthorityDefaults
@Bean public static org.springframework.security.config.core.GrantedAuthorityDefaults grantedAuthorityDefaults() -
filterChain
@Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http, DeedAuthenticationProvider authProvider, DeedAccessDeniedHandler deedAccessDeniedHandler) throws Exception - Throws:
Exception
-