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


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: 8914
    
    8

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]
 
GeeCON Prague 2014
 
subject: Block an user to send the http request.