-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small refactoring #32
Small refactoring #32
Conversation
- bump plugin parent pom - also add escape-by-default into Jelly files - add final to a static variable
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Isn't it a feature that users can log in to Jenkins with their display name? This seems to disable that. |
As mentioned @daniel-beck we could break a feature that is potentially used : the LDAP search using the FullName (against cn ?). The other changes are still interesting, but nothing really important. |
@reviewbybees done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
System Property needs to be reverted
@@ -117,7 +117,7 @@ | |||
* See http://msdn.microsoft.com/en-us/library/aa746475(VS.85).aspx for the syntax by example. | |||
* WANTED: The specification of the syntax. | |||
*/ | |||
public static String GROUP_SEARCH = System.getProperty(LDAPSecurityRealm.class.getName()+".groupSearch", | |||
public static final String GROUP_SEARCH = System.getProperty(LDAPSecurityRealm.class.getName()+".groupSearch", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this change it won't be possible to change them dynamically in System Groovy Scripts
FindBugs will likely grumble, we will fix it in the master branch |
Main issue was to retrieve the User by username potentially.
@reviewbybees @jtnord (especially for the getById without creation)