Hi!
Where can I find the source code for isUserInRole? All I find are only interfaces or calling to super.isUserInRole
Hi!
Where can I find the source code for isUserInRole? All I find are only interfaces or calling to super.isUserInRole
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.Request
class.