You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sanjeev Sachdev (JIRA)" <ji...@apache.org> on 2009/01/23 08:00:59 UTC

[jira] Created: (DIRMINA-657) SSL Filter and IoHandler.

SSL Filter and IoHandler.
-------------------------

                 Key: DIRMINA-657
                 URL: https://issues.apache.org/jira/browse/DIRMINA-657
             Project: MINA
          Issue Type: Improvement
          Components: Filter, Handler
    Affects Versions: 1.1.7
            Reporter: Sanjeev Sachdev
            Priority: Minor


When the session is secured or unsecured, SSLFilter notifies the IOHandler about the same, by emitting a special message object with a IoHandler.messageReceived(IoSession, Object)  event. 
Instead, IOHandler should have events like IoHandler.sessionSecured() and IoHandler.sessionUnsecured().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-657) SSL Filter and IoHandler.

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-657:
--------------------------------------

    Affects Version/s:     (was: 1.1.7)
                       3.0.0-M1

good point something to look for 3.0

> SSL Filter and IoHandler.
> -------------------------
>
>                 Key: DIRMINA-657
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-657
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter, Handler
>    Affects Versions: 3.0.0-M1
>            Reporter: Sanjeev Sachdev
>            Priority: Minor
>
> When the session is secured or unsecured, SSLFilter notifies the IOHandler about the same, by emitting a special message object with a IoHandler.messageReceived(IoSession, Object)  event. 
> Instead, IOHandler should have events like IoHandler.sessionSecured() and IoHandler.sessionUnsecured().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-657) SSL Filter and IoHandler.

Posted by "Sanjeev Sachdev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666931#action_12666931 ] 

Sanjeev Sachdev commented on DIRMINA-657:
-----------------------------------------

Adding these API will make design cleaner:

IOHandler has methods to receive other events ("Session Created", "Session Closed", etc.). Similary, it should have methods to deal with events like, "Session Secured" / "Session Unsecured". Currently, "Session Secured" / "Session Unsecured" events are treated as a "Message Received" events. So if you want to handle "Session Secured" / "Session Unsecured" events, you have to check every message that is passed to IOHandler.messageReceived() method if it is "Session Secured" / "Session Unsecured" message. IOHandler.messageReceived() should be only for application layer protocol "Message Received" events only. 

> SSL Filter and IoHandler.
> -------------------------
>
>                 Key: DIRMINA-657
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-657
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter, Handler
>    Affects Versions: 1.1.7
>            Reporter: Sanjeev Sachdev
>            Priority: Minor
>
> When the session is secured or unsecured, SSLFilter notifies the IOHandler about the same, by emitting a special message object with a IoHandler.messageReceived(IoSession, Object)  event. 
> Instead, IOHandler should have events like IoHandler.sessionSecured() and IoHandler.sessionUnsecured().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-657) SSL Filter and IoHandler.

Posted by "Ashish Paliwal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666443#action_12666443 ] 

Ashish Paliwal commented on DIRMINA-657:
----------------------------------------

Can the issue be more elaborated, how it shall of help, if these API are added? As per javadoc, these notification can be turned off.

> SSL Filter and IoHandler.
> -------------------------
>
>                 Key: DIRMINA-657
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-657
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter, Handler
>    Affects Versions: 1.1.7
>            Reporter: Sanjeev Sachdev
>            Priority: Minor
>
> When the session is secured or unsecured, SSLFilter notifies the IOHandler about the same, by emitting a special message object with a IoHandler.messageReceived(IoSession, Object)  event. 
> Instead, IOHandler should have events like IoHandler.sessionSecured() and IoHandler.sessionUnsecured().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-657) SSL Filter and IoHandler.

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRMINA-657:
--------------------------------------

    Affects Version/s:     (was: 3.0.0-M1)
                       2.0.0-RC1
        Fix Version/s: 3.0.0-M1

> SSL Filter and IoHandler.
> -------------------------
>
>                 Key: DIRMINA-657
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-657
>             Project: MINA
>          Issue Type: Improvement
>          Components: Filter, Handler
>    Affects Versions: 2.0.0-RC1
>            Reporter: Sanjeev Sachdev
>            Priority: Minor
>             Fix For: 3.0.0-M1
>
>
> When the session is secured or unsecured, SSLFilter notifies the IOHandler about the same, by emitting a special message object with a IoHandler.messageReceived(IoSession, Object)  event. 
> Instead, IOHandler should have events like IoHandler.sessionSecured() and IoHandler.sessionUnsecured().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.