|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Core obviously expects Authentication.getPrincipal() to be a UserDetails, not a String. TokenBasedRememberMeServices2 only specifies Object, but I guess we'll have to live with that. Many comments here point to the Crowd plugin – is there any problem with this besides that plugin?
https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/security/TokenBasedRememberMeServices2.java#L105
https://github.com/jenkinsci/crowd2-plugin/blob/master/src/main/java/de/theit/jenkins/crowd/CrowdAuthenticationToken.java#L95
http://www.docjar.org/docs/api/org/acegisecurity/Authentication.html#getPrincipal