I guess you could do a semi hack and implement a PluginServletFilter [1] that looks at the referrer field of the http request and if that is the login form redirect the request to your custom page. The normal case for Jenkins is to redirect the user to whatever page it came from before going to the login form, so you'd loose that unless the filter also took a look at where the request was going.
[1] https://wiki.jenkins-ci.org/display/JENKINS/Extension+points#Extensionpoints-hudson.util.PluginServletFilter Robert Sandell Software Tools Engineer - SW Environment and Product Configuration Sony Mobile Communications From: [email protected] [mailto:[email protected]] On Behalf Of swastb Sent: den 30 oktober 2013 14:19 To: [email protected] Subject: Redirect to a custom page after successful login in jenkins using plugin Hi all, Im badly looking for this answer. Is it possible to redirect to a custom page after successful login in jenkins. Im able to write a custom authorization plugin. But after successful authentication there has to be an intermediate page between login page and views. Is it possible to achieve this using plugin? -- 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]<mailto:[email protected]>. For more options, visit https://groups.google.com/groups/opt_out. -- 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.
