aspose file tools*
The moose likes Websphere and the fly likes FORM-BASED setup problem: Login.jsp cannot be rendered!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "FORM-BASED setup problem: Login.jsp cannot be rendered!!!" Watch "FORM-BASED setup problem: Login.jsp cannot be rendered!!!" New topic
Author

FORM-BASED setup problem: Login.jsp cannot be rendered!!!

Binh Nguyen
Greenhorn

Joined: Feb 28, 2002
Posts: 16
For reason, my login page cannot be rendered if I tried to access the proctedt URL, the browser keeps browsing non-stop !!!

this is my web.xml:
<security-constraint id="SecurityConstraint_1">
<web-resource-collection id="WebResourceCollection_1">
<web-resource-name>FN_Security</web-resource-name>
<url-pattern>/main/*</url-pattern>
<http-method>POST</http-method>
<http-method>GET</http-method>
</web-resource-collection>
<auth-constraint id="AuthConstraint_1">
<role-name>role-fn-user</role-name>
</auth-constraint>
</security-constraint>

<login-config id="LoginConfig_1">
<auth-method>FORM</auth-method>
<realm-name>dbRealm</realm-name>
<form-login-config id="FormLoginConfig_1">
<form-login-page>/login.do</form-login-page>
<form-error-page>/loginerror.do</form-error-page>
</form-login-config>
</login-config>

<security-role id="SecurityRole_1">
<role-name>role-fn-user</role-name>
</security-role>
</web-app>

and in WebLogic Server:
we have another file: weblogic.xml in which we mapp the "role-fn-user" to the group that we defined for this role?
How could we do the same in WebSphere?
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: FORM-BASED setup problem: Login.jsp cannot be rendered!!!
 
Similar Threads
Keep having to login with container based authentaction.
Websphere cannot locate login.jsp
error with j_security_check
Form Authentication not working
Redirection after realm authentication