public class ConfidentialAuthorizer extends Authorizer
ALWAYS, AUTHENTICATED, NEVER
Constructor and Description |
---|
ConfidentialAuthorizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(Request request,
Response response)
Authorizes the request only if its method is one of the authorized
methods.
|
authorized, beforeHandle, getIdentifier, setIdentifier, unauthorized
afterHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stop
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
public boolean authorize(Request request, Response response)
authorize
in class Authorizer
request
- The request sent.response
- The response to update.Copyright © 2005-2024 Restlet.