[jboss-user] [JBoss Portal] - Configuring a different JSP name for login does not work

NM-156 do-not-reply at jboss.com
Thu Sep 13 16:38:05 EDT 2007


I am trying to change the web.xml file of the portal to point to a different login file name. I created a new jsp called testlogin.jsp, and changed the following entries in web.xml:

Under the "Authenticated" security constraint I have:

<url-pattern>/*</url-pattern>

Under the <login-config> section I have:

<form-login-page>/testlogin.jsp</form-login-page>

I placed the testlogin.jsp under the portal-server.war directory in the same location as login.jsp. If I rename testlogin.jsp to login.jsp and then change the <form-login-page> tag back to /login.jsp, it works. If I try to configure the tag entry with /testlogin.jsp, I get sent to the default dashboard page of the portal.

Both testlogin.jsp and login.jsp have identical access rites. Is this a bug? Does the name /testlogin.jsp have to be configured anywhere else for this to work?

Thank you. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084226#4084226

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084226



More information about the jboss-user mailing list