Apache Directory Project - [jira] Resolved: (DIRMINA-40) Filter API needs callback for enabled notification

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2005 > [jira] Resolved: (DIRMINA-40) Filter API needs callback for enabled notification





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Resolved: (DIRMINA-40) Filter API needs callback for enabled notification
Trustin Lee (JIRA)

2005-06-12, 5:45 pm

[ http://issues.apache.org/jira/brows...INA-40?page=all ]

Trustin Lee resolved DIRMINA-40:
--------------------------------

Resolution: Fixed

I added init() and destroy() callback to IoFilter. They are automatically called when a filter is added to or removed from filter chain. AbstractIoFilterChain counts reference count of filters to prevent chain from calling init() or destroy() multiple ti
mes in case that filters are added more than once to different chain.

> Filter API needs callback for enabled notification
> --------------------------------------------------
>
> Key: DIRMINA-40
> URL: http://issues.apache.org/jira/browse/DIRMINA-40
> Project: Directory MINA
> Type: Improvement
> Versions: 0.7.1, 0.7
> Environment: All
> Reporter: Vinod Panicker
> Assignee: Trustin Lee
> Priority: Blocker
> Fix For: 0.9


>
> The Filter api currently assumes that it would be applied only on unopened sessions. Eg - the SSL filter currently starts its work on the sessionOpened() callback. This is an incorrect assumption since the SSL filter could be applied on an existing pl

ain TCP connection as well.
> It would be great if there were new callbacks defined - something like filterEnabled() and filterDisabled()
> This would allow us to use the filters on existing sessions as well.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com