开发者

isUserInRole source code or HttpServletRequest [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

开发者_StackOverflow社区

Closed 7 years ago.

Improve this question

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜