com.caucho.server.security
Class TransportConstraint
java.lang.Object
com.caucho.server.security.AbstractConstraint
com.caucho.server.security.TransportConstraint
public class TransportConstraint
- extends AbstractConstraint
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportConstraint
public TransportConstraint()
TransportConstraint
public TransportConstraint(java.lang.String transport)
setTransportGuarantee
public void setTransportGuarantee(java.lang.String transportGuarantee)
isPrivateCache
public boolean isPrivateCache()
- Returns true if any cache needs to be private.
- Overrides:
isPrivateCache
in class AbstractConstraint
isAuthorized
public AuthorizationResult isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
throws ServletException,
java.io.IOException
- Returns true if the user is authorized for the resource.
- Specified by:
isAuthorized
in class AbstractConstraint
- Parameters:
request
- the servlet requestresponse
- the servlet response
- Returns:
- true if the request is authorized.
- Throws:
ServletException
java.io.IOException