geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-4441) The assignment to variable "handler" has no effect in ConstantLoginModule.java
Date Tue, 09 Jun 2009 01:54:07 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shawn Jiang closed GERONIMO-4441.
---------------------------------


Closing it.  Thanks Jarek.


> The assignment to variable "handler" has no effect in ConstantLoginModule.java
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4441
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4441
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.1.3, 2.1.4, 2.2
>            Reporter: Shawn Jiang
>            Assignee: Jarek Gawor
>             Fix For: 2.1.4, 2.2
>
>         Attachments: GERONIMO-4441.patch
>
>
> Seems it's a typo bug in  https://svn.apache.org/repos/asf/geronimo/server/trunk/framework/modules/geronimo-security/src/main/java/org/apache/geronimo/security/realm/providers/ConstantLoginModule.java
>    /**
>      * Save the userName and groupNames settings for use during commit()
>      */
>     public void initialize(Subject subject, CallbackHandler callbackHandler,
>             Map sharedState, Map options) {
>         this.subject = subject;
>         this.handler = handler;
>         
>         this.userName = (String)options.get(USER_NAME);
>         this.groupNames = (String)options.get(GROUP_NAMES);
>     }
> "  this.handler = handler;"  should be  " this.handler = callbackHandler;"

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


Mime
View raw message