• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic