Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Default login form after deploy to Tomcat 9(How to don't show built in login form and use custom login)
Default login form after deploy to Tomcat 9 [message #1744815] Fri, 30 September 2016 13:19 Go to next message
Amel Jakupovic is currently offline Amel JakupovicFriend
Messages: 62
Registered: March 2010
Member
Hy to all,

we finished migrating our little lab system from eclipse scout mars to eclipse neon.

If we export project with parameter scout.dev.mode=true we don't see buildin login form, but we see our custom login form.

Exported project is available in HTTP, not in HTTPS.

Thanks
Amel
Re: Default login form after deploy to Tomcat 9 [message #1756088 is a reply to message #1744815] Fri, 10 March 2017 19:21 Go to previous messageGo to next message
marco santos is currently offline marco santosFriend
Messages: 9
Registered: March 2017
Junior Member
Hi Amel,
i'am also working with scout but it's new to me.
as far as i understand the login form will only appear if this parameter has been set as false.

try to difine this parameter as
scout.dev.mode=false
Re: Default login form after deploy to Tomcat 9 [message #1756089 is a reply to message #1744815] Fri, 10 March 2017 19:21 Go to previous messageGo to next message
marco santos is currently offline marco santosFriend
Messages: 9
Registered: March 2017
Junior Member
No Message Body

[Updated on: Fri, 10 March 2017 19:22]

Report message to a moderator

Re: Default login form after deploy to Tomcat 9 [message #1756118 is a reply to message #1756089] Sat, 11 March 2017 18:19 Go to previous message
Kevin Kirn is currently offline Kevin KirnFriend
Messages: 19
Registered: September 2014
Junior Member
Hello Amel

Like Marco already mentioned, if scout.dev.mode is set to true the login form will not appear. Also, you're request will be handled by the DevelopmentAccessController (see UiServletFilter.java).

If you export (and deploy) your application, you should have set scout.dev.mode to false - since this is only for dev purposes as the name already indicates.

Thus, the login form appears and will be handled by the FormBasedAccessController.

Kevin
Previous Topic:textarea in Scout?
Next Topic:How to configure LdapLoginModule for use with Jetty
Goto Forum:
  


Current Time: Wed Jun 28 08:50:41 GMT 2017

Powered by FUDForum. Page generated in 0.02336 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software