public class Authenticate extends 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 IOException
request - current HTTP requestresponse - HTTP responseIOExceptionpublic static boolean startAuthentication(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
context - current DSpace contextrequest - current HTTP request - the one that prompted authenticationresponse - current HTTP responsejavax.servlet.ServletExceptionIOExceptionpublic 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 SQLException
context - DSpace contextrequest - HTTP requestSQLExceptionCopyright © 2016 DuraSpace. All Rights Reserved.