You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thusitha Thilina Dayaratne <th...@gmail.com> on 2015/04/20 07:31:24 UTC

org.apache.catalina.authenticator.SingleSignOn.sessionEvent() equivalent in Tomcat 8

Hi,

In tomcat 7 there is a method to set session event as follows in the
org.apache.catalina.authenticator.SingleSignOn
void sessionEvent(SessionEvent event)

But this method has been removed in tomcat 8.
Is there a equivalent in Tomcat 8? Or is there a specific reason to remove
that?

Thanks
Best Regards

--

Re: org.apache.catalina.authenticator.SingleSignOn.sessionEvent() equivalent in Tomcat 8

Posted by Mark Thomas <ma...@apache.org>.
On 20/04/2015 06:41, Thusitha Thilina Dayaratne wrote:
> Hi
> 
>>> In tomcat 7 there is a method to set session event as follows in the
> org.apache.catalina.authenticator.SingleSignOn
>>> void sessionEvent(SessionEvent event)
> 
>>> But this method has been removed in tomcat 8.
>>> Is there a equivalent in Tomcat 8? Or is there a specific reason to
> remove that?
>> I think I found the answer
>> I can get the sessionListner and configure through that
> 
>> getSessionListener(ssID).sessionEvent(event)
> 
> But how can I get the ssoID ?

That is not a setter, it is a handler that responds to session events.
Note that in Tomcat 8 the Listener and the Valve are in separate classes.

What is it that you are trying to do?

Mark


> 
> 
> 2015-04-20 11:05 GMT+05:30 Thusitha Thilina Dayaratne <
> thusithathilina@gmail.com>:
> 
>> Hi
>>
>>>> In tomcat 7 there is a method to set session event as follows in the
>> org.apache.catalina.authenticator.SingleSignOn
>>>> void sessionEvent(SessionEvent event)
>>
>>>> But this method has been removed in tomcat 8.
>>>> Is there a equivalent in Tomcat 8? Or is there a specific reason to
>> remove that?
>> I think I found the answer
>> I can get the sessionListner and configure through that
>>
>> getSessionListener(ssID).sessionEvent(event)
>>
>>
>> Thanks
>>
>> Best Regards
>>
>>
>> 2015-04-20 11:01 GMT+05:30 Thusitha Thilina Dayaratne <
>> thusithathilina@gmail.com>:
>>
>>> Hi,
>>>
>>> In tomcat 7 there is a method to set session event as follows in the
>>> org.apache.catalina.authenticator.SingleSignOn
>>> void sessionEvent(SessionEvent event)
>>>
>>> But this method has been removed in tomcat 8.
>>> Is there a equivalent in Tomcat 8? Or is there a specific reason to
>>> remove that?
>>>
>>> Thanks
>>> Best Regards
>>>
>>> --
>>>
>>>
>>
>>
>>
>> --
>>
>>
> 
> 
> 
> --
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: org.apache.catalina.authenticator.SingleSignOn.sessionEvent() equivalent in Tomcat 8

Posted by Thusitha Thilina Dayaratne <th...@gmail.com>.
Hi

>>In tomcat 7 there is a method to set session event as follows in the
org.apache.catalina.authenticator.SingleSignOn
>>void sessionEvent(SessionEvent event)

>>But this method has been removed in tomcat 8.
>>Is there a equivalent in Tomcat 8? Or is there a specific reason to
remove that?
>I think I found the answer
>I can get the sessionListner and configure through that

>getSessionListener(ssID).sessionEvent(event)

But how can I get the ssoID ?


2015-04-20 11:05 GMT+05:30 Thusitha Thilina Dayaratne <
thusithathilina@gmail.com>:

> Hi
>
> >>In tomcat 7 there is a method to set session event as follows in the
> org.apache.catalina.authenticator.SingleSignOn
> >>void sessionEvent(SessionEvent event)
>
> >>But this method has been removed in tomcat 8.
> >>Is there a equivalent in Tomcat 8? Or is there a specific reason to
> remove that?
> I think I found the answer
> I can get the sessionListner and configure through that
>
> getSessionListener(ssID).sessionEvent(event)
>
>
> Thanks
>
> Best Regards
>
>
> 2015-04-20 11:01 GMT+05:30 Thusitha Thilina Dayaratne <
> thusithathilina@gmail.com>:
>
>> Hi,
>>
>> In tomcat 7 there is a method to set session event as follows in the
>> org.apache.catalina.authenticator.SingleSignOn
>> void sessionEvent(SessionEvent event)
>>
>> But this method has been removed in tomcat 8.
>> Is there a equivalent in Tomcat 8? Or is there a specific reason to
>> remove that?
>>
>> Thanks
>> Best Regards
>>
>> --
>>
>>
>
>
>
> --
>
>



--

Re: org.apache.catalina.authenticator.SingleSignOn.sessionEvent() equivalent in Tomcat 8

Posted by Thusitha Thilina Dayaratne <th...@gmail.com>.
Hi

>>In tomcat 7 there is a method to set session event as follows in the
org.apache.catalina.authenticator.SingleSignOn
>>void sessionEvent(SessionEvent event)

>>But this method has been removed in tomcat 8.
>>Is there a equivalent in Tomcat 8? Or is there a specific reason to
remove that?
I think I found the answer
I can get the sessionListner and configure through that

getSessionListener(ssID).sessionEvent(event)


Thanks

Best Regards


2015-04-20 11:01 GMT+05:30 Thusitha Thilina Dayaratne <
thusithathilina@gmail.com>:

> Hi,
>
> In tomcat 7 there is a method to set session event as follows in the
> org.apache.catalina.authenticator.SingleSignOn
> void sessionEvent(SessionEvent event)
>
> But this method has been removed in tomcat 8.
> Is there a equivalent in Tomcat 8? Or is there a specific reason to remove
> that?
>
> Thanks
> Best Regards
>
> --
>
>



--