....... 1. Only parentabstract abstract role can access the application - you will have to modify web.xml 2. An invalid user "xyz" tries to access the application, a your own error page (HTML or JSP page) called myownerror.jsp should be displayed indicating the error condition. 3. Users "sang", "young", and "anotherparent" should be able to access the application. .......
Can anybody help me to clarify the 2nd request ? "An invalid user "xyz" tries to access the application, a your own error page (HTML or JSP page) called myownerror.jsp should be displayed indicating the error condition.". When you have run the project, a browser prompt your username and password to authenticate. If you enter an invalid user such "xyz", "abc" (non-existence in realm), it (browser) will prompt again until you cancel or enter an valid user. But following the second's request its mean: if an invalid user has entered, server will response error page to user. I can't do follow this way because I don't know where to inject code when a user inputed username/password to verify. Thank! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---