S
ssouthwe
Guest
I'm building a little web app in OE 11.7.4 where I don't want to use the default login screen that comes with PASOE. In my oeablSecurity.properties file for my app, I set these: client.login.model=form http.all.authmanager=local I have my login screen built and it works fine. However, I need to control these things: I want MY login screen used, (/appname/web/login.html) not the jsp one in /static/auth I want the user to be taken to the main menu - not /static/index.html I see that WEB-INF/spring/formLoginModel.xml has a section that looks like this: I assumed those variables like http.formlogin.loginpage would be set in oeablSecurity.properties. I tried setting them in there, and it doesn't work. (See below) ############# Form login Filter bean ########################################## http.formlogin.loginpage=/appname/web/login.html http.formlogin.loginurl=/appname/static/auth/j_spring_security_check http.formlogin.usedefaulttarget=false http.formlogin.defaulturl=/appname/web/mainmenu.html http.formlogin.failureurl=/static/auth/loginfail.html I also tried hard-coding the values in formLoginModel.xml like this: I've done multiple restarts here, and no matter what I do, if I'm not logged in and try to hit something that requires a login, it takes me to /myapp/static/auth/login.jsp instead of the appname/web/login.html that I've configured. What gives? Where and how does one configure this?
Continue reading...
Continue reading...