Class WebInitializer
java.lang.Object
org.opendaylight.aaa.shiro.web.env.WebInitializer
- All Implemented Interfaces:
AutoCloseable
Initializer for web components.
This class is the equivalent of a declarative web.xml,
and is not OSGi specific; it can also be used e.g. in standalone
Java environments, such as tests.
- Author:
- Michael Vorburger.ch
-
Constructor Summary
ConstructorsConstructorDescriptionWebInitializer
(WebServer webServer, ClaimCache claimCache, ServletSupport servletSupport, WebContextSecurer webContextSecurer, IIDMStore iidMStore, CustomFilterAdapterConfiguration customFilterAdapterConfig) -
Method Summary
-
Constructor Details
-
WebInitializer
@Inject public WebInitializer(WebServer webServer, ClaimCache claimCache, ServletSupport servletSupport, WebContextSecurer webContextSecurer, IIDMStore iidMStore, CustomFilterAdapterConfiguration customFilterAdapterConfig) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-