public class Authenticate
extends java.lang.Object
org.dspace.eperson.AuthenticationMethod interface.| Constructor and Description |
|---|
Authenticate() |
| Modifier and Type | Method and Description |
|---|---|
static javax.servlet.http.HttpServletRequest |
getRealRequest(javax.servlet.http.HttpServletRequest request)
Return the request that the system should be dealing with, given the
request that the browse just sent.
|
static void |
loggedIn(Context context,
javax.servlet.http.HttpServletRequest request,
EPerson eperson)
Store information about the current user in the request and context
|
static void |
loggedOut(Context context,
javax.servlet.http.HttpServletRequest request)
Log the user out
|
static void |
resumeInterruptedRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Resume a previously interrupted request.
|
static boolean |
startAuthentication(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Start the authentication process.
|
public static javax.servlet.http.HttpServletRequest getRealRequest(javax.servlet.http.HttpServletRequest request)
request - the incoming HTTP requestpublic static void resumeInterruptedRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
request - current HTTP requestresponse - HTTP responsejava.io.IOExceptionpublic static boolean startAuthentication(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
context - current DSpace contextrequest - current HTTP request - the one that prompted authenticationresponse - current HTTP responsejavax.servlet.ServletExceptionjava.io.IOExceptionpublic static void loggedIn(Context context, javax.servlet.http.HttpServletRequest request, EPerson eperson)
context - DSpace contextrequest - HTTP requesteperson - the eperson logged inpublic static void loggedOut(Context context, javax.servlet.http.HttpServletRequest request) throws java.sql.SQLException
context - DSpace contextrequest - HTTP requestjava.sql.SQLExceptionCopyright © 2018 DuraSpace. All Rights Reserved.