11.2. Configuration
To enable authorization to your project you must provide the following configuration to your
WEB-INF/beans.xml
or META-INF/beans.xml
:
<interceptors> <class>org.apache.deltaspike.security.impl.extension.SecurityInterceptor</class> </interceptors>
The interceptor above is responsible to intercept all invocations to your CDI beans and check for authorization rules and policies before processing their methods.