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] Created: (GERONIMO-4441) The assignment to variable "handler" has no effect in ConstantLoginModule.java
Date Wed, 03 Dec 2008 10:01:44 GMT
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


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