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

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7262 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
dwdyer committed 2008-02-29 23:35:44 +00:00
1 parent 9f0438fdb9
commit 9461a882d5
1 file changed
+8
@@ -18,4 +18,12 @@ public abstract class UserPropertyDescriptor extends Descriptor<UserProperty> {
* if the implementation choose not to add any property object for such user.
*/
public abstract UserProperty newInstance(User user);
/**
* Whether or not the described property is enabled in the current context.
* Defaults to true. Over-ride in sub-classes as required.
*/
public boolean isEnabled() {
return true;
}
}