public class TransportConstraint extends AbstractConstraint
| Constructor and Description |
|---|
TransportConstraint() |
TransportConstraint(java.lang.String transport) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationResult |
isAuthorized(HttpServletRequest request,
HttpServletResponse response,
ServletContext application)
Returns true if the user is authorized for the resource.
|
boolean |
isPrivateCache()
Returns true if any cache needs to be private.
|
void |
setTransportGuarantee(java.lang.String transportGuarantee) |
needsAuthentication, toArraypublic TransportConstraint()
public TransportConstraint(java.lang.String transport)
public void setTransportGuarantee(java.lang.String transportGuarantee)
public boolean isPrivateCache()
isPrivateCache in class AbstractConstraintpublic AuthorizationResult isAuthorized(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, java.io.IOException
isAuthorized in class AbstractConstraintrequest - the servlet requestresponse - the servlet responseServletExceptionjava.io.IOException