package hudson.model;

/**
 * {@link Descriptor} for {@link UserProperty}.
 * 
 * @author Kohsuke Kawaguchi
 */
public abstract class UserPropertyDescriptor extends Descriptor<UserProperty> {
    protected UserPropertyDescriptor(Class<? extends UserProperty> clazz) {
        super(clazz);
    }

    /**
     * Creates a default instance of {@link UserProperty} to be associated
     * with {@link User} that doesn't have any back up data store.
     *
     * @return null
     *      if the implementation choose not to add any property object for such user.
     */
    public abstract UserProperty newInstance(User user);
}

@@ -618,11 +618,232 @@
 r user);
+%0A%0A    /**%0A     * Whether or not the described property is enabled in the current context.%0A     * Defaults to true.  Over-ride in sub-classes as required.%0A     */%0A    public boolean isEnabled() %7B%0A        return true;%0A    %7D
 %0A%7D%0A

Fix for ISSUE#1284 (password field not displayed on user page when using Hudson's own user database).