If you don't get a good answer on this list, it's likely because no
one knows the answer. I'd suggest asking this question in the Acegi
user forums.
http://forum.springframework.org/forumdisplay.php?f=33
Hopefully someone there has done what you're trying to do and can help.
Matt
On Dec 4, 2007, at 12:55 AM, ujjala wrote:
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]