public class GaeAuthenticator extends Authenticator
Constructor and Description |
---|
GaeAuthenticator(Context context)
Constructor setting the mode to "required".
|
GaeAuthenticator(Context context,
boolean optional)
Constructor using the context's default enroler.
|
GaeAuthenticator(Context context,
boolean optional,
Enroler enroler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
authenticate(Request request,
Response response)
Integrates with Google App Engine UserService to redirect
non-authenticated users to the GAE login URL.
|
authenticated, beforeHandle, getEnroler, isMultiAuthenticating, isOptional, setEnroler, setMultiAuthenticating, setOptional, unauthenticated
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 GaeAuthenticator(Context context)
context
- The context.#Authenticator(Context)
public GaeAuthenticator(Context context, boolean optional)
context
- The context.optional
- The authentication mode.#Authenticator(Context, boolean, Enroler)
protected boolean authenticate(Request request, Response response)
authenticate
in class Authenticator
request
- The request sent.response
- The response to update.Copyright © 2005-2019 Restlet.