This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 8876
    
    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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Block an user to send the http request.