I don't want user to login when he is already logged in. I have implemented following code in applicationcontext security.xml. In this case problem is that user is also not able to login after properlogout. It gets the exception maximum session exceeded. I registered the Httpeventpublisher listener in web.xml. then i also used logoutfilter. but problrm is still there. Someone please tell me some solution for it in detail. Thanks in advance.
<bean id="concurrentSessionFilter" > class="org.acegisecurity.concurrent.ConcurrentSess ionFilter"> > <property name="expiredUrl" value="/logout.jsp"/> > <property name="sessionRegistry" ref="sessionRegistry"/> > </bean> > <!-- Concurrent session control --> > <bean id="concurrentSessionController" > > class="org.acegisecurity.concurrent.ConcurrentSess ionControllerImpl"> > <property name="maximumSessions" value="1"/> > <property name="sessionRegistry" ref="sessionRegistry"/> > <property name="exceptionIfMaximumExceeded" value="true"/> > </bean> > <bean id="sessionRegistry" > class="org.acegisecurity.concurrent.SessionRegistr yImpl"/> -- View this message in context: http://www.nabble.com/to-prevent-from-relogin.-tf4941862s2369.html#a14146909 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]