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, toArray
public TransportConstraint()
public TransportConstraint(java.lang.String transport)
public void setTransportGuarantee(java.lang.String transportGuarantee)
public boolean isPrivateCache()
isPrivateCache
in class AbstractConstraint
public AuthorizationResult isAuthorized(HttpServletRequest request, HttpServletResponse response, ServletContext application) throws ServletException, java.io.IOException
isAuthorized
in class AbstractConstraint
request
- the servlet requestresponse
- the servlet responseServletException
java.io.IOException