com.caucho.http.security
Class TransportConstraint

java.lang.Object
  |
  +--com.caucho.http.security.AbstractConstraint
        |
        +--com.caucho.http.security.TransportConstraint

public class TransportConstraint
extends AbstractConstraint


Constructor Summary
TransportConstraint()
           
 
Method Summary
 boolean isAuthorized(HttpServletRequest request, HttpServletResponse response, ServletContext application)
          Returns true if the user is authorized for the resource.
 void setTransportGuarantee(java.lang.String transportGuarantee)
           
 
Methods inherited from class com.caucho.http.security.AbstractConstraint
needsAuthentication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportConstraint

public TransportConstraint()
Method Detail

setTransportGuarantee

public void setTransportGuarantee(java.lang.String transportGuarantee)

isAuthorized

public boolean isAuthorized(HttpServletRequest request,
                            HttpServletResponse response,
                            ServletContext application)
                     throws ServletException,
                            java.io.IOException
Returns true if the user is authorized for the resource.
Overrides:
isAuthorized in class AbstractConstraint
Following copied from class: com.caucho.http.security.AbstractConstraint
Parameters:
request - the servlet request
response - the servlet response
Returns:
true if the request is authorized.