*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8836
    
    7

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.
 
Similar Threads
Servlet communication
A Mock Question
xml rpc and setGzipRequesting
xmlhttprequest is not sending any request to the servlet
load select options in spring MVC portlet with particular Item highlighted?