File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Block an user to send the http request. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Block an user to send the http request." Watch "Block an user to send the http request." New topic
Author

Block an user to send the http request.

Rajesh Javaria
Greenhorn

Joined: Mar 17, 2009
Posts: 1
How can I block a particular user to send an http request? The Tomcat server should accept only https request from this particular user.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8707
    
    6

Are they logged in? You can assign that user a particular role then use a security constraint in web.xml to limit that role to HTTPS (I believe).


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Block an user to send the http request.
 
Similar Threads
A Mock Question
load select options in spring MVC portlet with particular Item highlighted?
xml rpc and setGzipRequesting
xmlhttprequest is not sending any request to the servlet
Servlet communication