Change-Id: I65a53510e3e8f9aba3fc64f011dad0905cde8b26 Former-commit-id: 2c5b357da096c9c1e2cd76560d143b8009aaba0f
32 lines
No EOL
1.4 KiB
XML
32 lines
No EOL
1.4 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
|
|
<bean id="roleStorage" class="com.raytheon.uf.edex.plugin.nwsauth.NwsRoleStorage" />
|
|
<bean id="authenticator"
|
|
class="com.raytheon.uf.edex.plugin.nwsauth.authentication.Authenticator" />
|
|
<bean id="authStorage"
|
|
class="com.raytheon.uf.edex.plugin.nwsauth.authentication.AuthenticationStorage" />
|
|
|
|
<bean id="authManager" class="com.raytheon.uf.edex.auth.AuthManager">
|
|
<property name="authenticationStorage" ref="authStorage" />
|
|
<property name="authenticator" ref="authenticator" />
|
|
<property name="roleStorage" ref="roleStorage" />
|
|
</bean>
|
|
|
|
<bean id="authFactory" class="com.raytheon.uf.edex.auth.AuthManagerFactory"
|
|
factory-method="getInstance">
|
|
<property name="manager" ref="authManager" />
|
|
</bean>
|
|
|
|
<bean id="edexNwsRoleManager"
|
|
class="com.raytheon.uf.edex.plugin.nwsauth.EdexNwsRoleManager" />
|
|
|
|
<bean factory-bean="handlerRegistry" factory-method="register">
|
|
<constructor-arg
|
|
value="com.raytheon.uf.common.plugin.nwsauth.NwsRoleDataRequest" />
|
|
<constructor-arg ref="edexNwsRoleManager" />
|
|
</bean>
|
|
|
|
|
|
</beans> |