dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14608
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5018: made loginaction scope prototype
------------------------------------------------------------
revno: 5018
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-10-24 11:55:12 +0200
message:
made loginaction scope prototype
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml
dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml 2011-10-03 09:23:01 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/beans.xml 2011-10-24 09:55:12 +0000
@@ -91,7 +91,7 @@
<bean id="org.springframework.mobile.device.DeviceResolver" class="org.springframework.mobile.device.LiteDeviceResolver" />
- <bean id="org.hisp.dhis.security.action.LoginAction" class="org.hisp.dhis.security.action.LoginAction">
+ <bean id="org.hisp.dhis.security.action.LoginAction" class="org.hisp.dhis.security.action.LoginAction" scope="prototype">
<property name="deviceResolver" ref="org.springframework.mobile.device.DeviceResolver" />
</bean>
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2011-10-24 08:54:53 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2011-10-24 09:55:12 +0000
@@ -29,7 +29,7 @@
<sec:http access-decision-manager-ref="accessDecisionManager" use-expressions="true" realm="DHIS2">
<sec:form-login default-target-url="/" always-use-default-target="false"
login-processing-url="/dhis-web-commons-security/login.action" authentication-failure-url="/dhis-web-commons/security/login.action?failed=true"
- login-page="/dhis-web-commons/security/login.action?failed=false" authentication-success-handler-ref="defaultAuthenticationSuccessHandler" />
+ login-page="/dhis-web-commons/security/login.action" authentication-success-handler-ref="defaultAuthenticationSuccessHandler" />
<sec:http-basic />
<sec:logout logout-url="/dhis-web-commons-security/logout.action" />