Class WebSecurityConfigurerImpl
- java.lang.Object
-
- com.devonfw.module.security.common.impl.config.WebSecurityConfigurerImpl
-
- All Implemented Interfaces:
AbstractWebSecurityConfigurer
,WebSecurityConfigurer
public class WebSecurityConfigurerImpl extends Object implements WebSecurityConfigurer
Implementation ofWebSecurityConfigurer
.- Since:
- 2020.12.001
-
-
Constructor Summary
Constructors Constructor Description WebSecurityConfigurerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.config.annotation.web.builders.HttpSecurity
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
Collection<WebSecurityConfigurerAspect>
getAspects()
void
setAspects(Collection<WebSecurityConfigurerAspect> aspects)
-
-
-
Method Detail
-
getAspects
public Collection<WebSecurityConfigurerAspect> getAspects()
- Returns:
- the
Collection
ofWebSecurityConfigurerAspect
s to configureHttpSecurity
.
-
setAspects
@Inject public void setAspects(Collection<WebSecurityConfigurerAspect> aspects)
- Parameters:
aspects
- theCollection
ofWebSecurityConfigurerAspect
s toInject
.
-
configure
public org.springframework.security.config.annotation.web.builders.HttpSecurity configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
- Specified by:
configure
in interfaceAbstractWebSecurityConfigurer
- Parameters:
http
- theHttpSecurity
to configure modular aspects that can even be driven by spring-boot-starters from devon4j.- Returns:
- the
HttpSecurity
with potential aspect(s) configured. - Throws:
Exception
- in case of an error.
-
-