Hey, I'm working on writing a new plugin to hook up jenkins to our internal company authentication system. I've gotten the Security Realm working, but I'm curious how exactly the User.CanonicalIdResolver stuff works.
I'm trying to support mapping new users created by the git plugin to our internal setup. So looking at https://github.com/jenkinsci/git-plugin/blob/cb6f13a3e3158332f76a45e853b3766fe83d5828/src/main/java/hudson/plugins/git/GitChangeSet.java#L254 I figure if I enable creating accounts based on email, then User.CanonicalIdResolver's resolveCanonicalId method will pass in an email or my normal username. Then I can do a lookup if the idOrFullName contains a @ symbol (or a regex or something). Is that the right use of this function? Will that prevent the creation of the [email protected] accounts? Gavin -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ebbf1b0c-f371-4011-9a10-f0e9aaa7213b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
