on 03-26-2010 9:06 AM
Hi,
I am trying to build Administrator login module-
Step 1) Created a J2EE web module project - created a index.jsp
Step 2) Adjust the web.xml - Selected Login Configuration and Selected BASIC for Authorization metod
Step 3) web-j2ee-engine.xml
Security tab -> In the login configuration entered /* in the Security policy domain
Step 4) Create J2EE Security Role for Accessing application in web.xml
web.xml -> Security Roles -> Add -> Entered role "MyTestAppRole " in Role Name and saved
Step 5) Security Constraint
web.xml -> Security tab -> Security Constraints -> Add -> Entered MyTestAppRole and saved
Step 6) Web Resource Collections -> Web Resource -> URL patterns -> Add -> URL pattern * and saved
Step 7) web.xml -> Authorization Constraint Tab -> Role Names -> Add -> Choose role-names dialog appears -> Selected MyTestAppRole and choose OK 5. The role is added to the security constraint
Step 😎 Enterprise Application Wrapper
Added my web application to enterprise application project and build and deploy it to the server
Step 9) Configuration with Visual Administrator
Cluster -> Server -> Services -> Security Provider -> Runtime -> Policy Configuration -> royalmail.com/com.royalmail.oba.login.ear*
Add u201CAuthenticated Usersu201D group to MyTestAppRole security role
Now I am accessing my application module and a login screen appears and using user-password which is assigned to "Authenticated Users" group ,
it throws below message
You are not authorized to view the content of the requested directory.
Details: Directory listing is not allowed on this server.
Can you please help me why I am not able to see my JSP page and recieving above error message
Thanks,
Neha
Hello Neha
Were you able to solve this problem?
Kenny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.