Hi, To ensure you log only once, you need some custom mechanism: check that the username is not already in the current ticket registry: either you can easily request your ticket registry by username or you need to save somewhere the information of which username has logged in. Maybe you can use the CAS addons for that: https://github.com/Unicon/cas-addons/wiki
I think the question has already been asked on the CAS user mailing list. Best regards, Jérôme 2015-08-11 14:58 GMT+02:00 babbarkrishan [via Shiro User] < [email protected]>: > Thanks Jérôme, > > We are able to use Jasig CAS with our 2 applications as a client. > One application is based upon Spring and other is Pentaho. > > These are working fine. > > Now, we got an another requirement of single session for a particular > user. > Means, if a user is logged in a browser and same user try to login again > in another browser then destroy her older session and allow to login in new > browser. > > Kindly suggest. > > Same question is asked by my teammate at > http://stackoverflow.com/questions/31942043/jasig-cas-allow-only-one-session-per-user-account. > > > Thanks in advance. > > Regards, > Krishan > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://shiro-user.582556.n2.nabble.com/Step-by-step-guide-for-SSO-implementation-using-Shiro-tp7580556p7580662.html > To start a new topic under Shiro User, email > [email protected] > To unsubscribe from Shiro User, click here > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=582556&code=bGVsZXVqQGdtYWlsLmNvbXw1ODI1NTZ8LTExNzY2MzcxMTY=> > . > NAML > <http://shiro-user.582556.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://shiro-user.582556.n2.nabble.com/Step-by-step-guide-for-SSO-implementation-using-Shiro-tp7580556p7580663.html Sent from the Shiro User mailing list archive at Nabble.com.
