You mau obtain sesión from request

El viernes, 27 de abril de 2018, Aman Garg <[email protected]>
escribió:

> Is there a way a CAS client (I am using cas-client-core-3.4.1.jar) can
> access HttpSession object by using ticket it?
>
> I could see that the above requirement can be fulfilled by:
>
>
> 1)  Accessing following methods of HashMapBackedSessionMappingSto
> rage.class
>
> public synchronized void addSessionById(String mappingId, HttpSession
> session)
> public synchronized HttpSession removeSessionByMappingId(String
> mappingId)
>
> (mappingId in above methods is TGT id if I am not wrong)
>
> 2) Above step would require access to instance of
> HashMapBackedSessionMappingStorage which can be get if I have access to
> following method of SingleSignOutHttpSessionListener.class:
> protected static SessionMappingStorage getSessionMappingStorage()
>
>
> But above method is protected and  SingleSignOutHttpSessionListener.class
> is marked final.
>
> Is there any way I can accomplish this requirement?
>
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/e4358dc5-ecbc-446c-82ac-
> 230972aa2c23%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/e4358dc5-ecbc-446c-82ac-230972aa2c23%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAMY5micvJcDxrvqzu-_kwR5Kf6hGqQiObcHvkaQGQG6eKScedQ%40mail.gmail.com.

Reply via email to