- All Implemented Interfaces:
- javax.servlet.Filter, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable, org.springframework.web.context.ServletContextAware
- Direct Known Subclasses:
- QwacCertificateFilterMock
@Profile(value="!mock-qwac")
@Component
public class QwacCertificateFilter
extends AbstractXs2aFilter
The intent of this Class is to get the Qwac certificate from header, extract
the information inside and set an Authentication Object with extracted data
and roles, thus we can use a SecurityConfig extends
WebSecurityConfigurerAdapter to filter path by role. And a SecurityUtil class
have been implemented to get this TPP data everywhere.