posted 22 years ago
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