Finally, I download active directory plugin and add a createFilter() function
in ActiveDirectorySecurityRealm.java

In createFilter(), I new a new Filter class and implement my SSO in it.
It seems ok, I can keep both original active directory plugin and SSO.

I'm not sure this is a good solution or not, I never write Jenkins plugin
before.
If there is not better solution, please let me know.

Thanks for your kindly support.



--
View this message in context: 
http://jenkins-ci.361315.n4.nabble.com/How-to-build-a-SSO-plugin-in-Jenkins-tp4685472p4686964.html
Sent from the Jenkins dev mailing list archive at Nabble.com.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to