• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic