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 HashMapBackedSessionMappingStorage.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.

Reply via email to