Package io.meeds.dapp.web.security
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 GrantedAuthorityDefaultsMethods inherited from class java.lang.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
-
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
-