Skip to content

[JENKINS-1284] Password Field does not display when "Hudson's own user database" is enabled #24108

Closed

Description

@jenkins-infra-bot

According to: https://hudson.dev.java.net/changelog.html#v1.180
Hudson displays the password textfield for a user when the "Hudson's own user
database" is enabled. When I upgraded to 1.181 this was not the case.

My Hudson System Configuration:
Enable Security = On
Hudson's own user database = On
Logged-in users can do anything = On

Using the above configuration, the password textfield was visible in version
1.177. I have not tested this issue on v1.183.


Originally reported by draco2k8, imported from: Password Field does not display when "Hudson's own user database" is enabled
  • status: Closed
  • priority: Critical
  • component(s): _unsorted
  • resolution: Fixed
  • resolved: 2008-02-29T15:36:45+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-08
Raw content of original issue

According to: https://hudson.dev.java.net/changelog.html#v1.180 Hudson displays the password textfield for a user when the "Hudson's own user database" is enabled. When I upgraded to 1.181 this was not the case.

My Hudson System Configuration: Enable Security = On Hudson's own user database = On Logged-in users can do anything = On

Using the above configuration, the password textfield was visible in version 1.177. I have not tested this issue on v1.183.

  • environment: Platform: All, OS: All

Activity

  1. jenkins-infra-bot commented on Feb 29, 2008

    @jenkins-infra-bot
    Author
    draco2k8:
    • Original comment link
    • Raw content of original comment:

      This is still an issue on v1.185 and v1.186. I am hoping to take a look at the code over the weekend to see what is going wrong

    This is still an issue on v1.185 and v1.186. I am hoping to take a look at the
    code over the weekend to see what is going wrong

  2. jenkins-infra-bot commented on Feb 29, 2008

    @jenkins-infra-bot
    Author
    dwdyer:
    • Original comment link
    • Raw content of original comment:

      The problem is that the "enabled" property referenced by the file HudsonPrivateSecurityRealm/Details/config.jelly is not visible, so the check never evaluates to true.

      The enabled property cannot be seen because it is defined only in the anonymous inner class in HudsonPrivateSecurityRealm.java and not in the base class, UserPropertyDescriptor.

      To resolve this issue I have provided a default implementation of isEnabled() in UserPropertyDescriptor. It simply returns true for all properties. The result of this is that the existing anonymous inner class method is now an over- ride of this method.

    The problem is that the "enabled" property referenced by the file
    HudsonPrivateSecurityRealm/Details/config.jelly is not visible, so the check
    never evaluates to true.

    The enabled property cannot be seen because it is defined only in the anonymous
    inner class in HudsonPrivateSecurityRealm.java and not in the base class,
    UserPropertyDescriptor.

    To resolve this issue I have provided a default implementation of isEnabled()
    in UserPropertyDescriptor. It simply returns true for all properties. The
    result of this is that the existing anonymous inner class method is now an over-
    ride of this method.

  3. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions