Where can I find the source code for isUserInRole? All I find are only interfaces or calling to super.isUserInRole
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can find it in the concrete implementation. As you see, Java EE is an abstract API, it exist of almost only interfaces. It has the benefit that you can deploy your webapplication on whatever server you want.
The concrete implementations are called application servers and/or servlet containers, like Sun Glassfish, IBM WebSphere, Oracle Weblogic, Apache Tomcat, Eclipse Jetty, etcetera. You need to check if your server implementation is open source and then download the source from the vendor’s homepage.
Tomcat 6.0 for example is open source, you can download it here (check the Source Code Distributions links at the bottom). It is in the
org.apache.catalina.connector.Requestclass.