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.HttpSecurityconfigure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)Collection<WebSecurityConfigurerAspect>getAspects()voidsetAspects(Collection<WebSecurityConfigurerAspect> aspects)
-
-
-
Method Detail
-
getAspects
public Collection<WebSecurityConfigurerAspect> getAspects()
- Returns:
- the
CollectionofWebSecurityConfigurerAspects to configureHttpSecurity.
-
setAspects
@Inject public void setAspects(Collection<WebSecurityConfigurerAspect> aspects)
- Parameters:
aspects- theCollectionofWebSecurityConfigurerAspects 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:
configurein interfaceAbstractWebSecurityConfigurer- Parameters:
http- theHttpSecurityto configure modular aspects that can even be driven by spring-boot-starters from devon4j.- Returns:
- the
HttpSecuritywith potential aspect(s) configured. - Throws:
Exception- in case of an error.
-
-