|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.webui.util.Authenticate
public class Authenticate
Methods for authenticating the user. This is DSpace platform code, as opposed
to the site-specific authentication code, that resides in implementations of
the org.dspace.eperson.AuthenticationMethod interface.
| Constructor Summary | |
|---|---|
Authenticate()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Authenticate()
| Method Detail |
|---|
public static javax.servlet.http.HttpServletRequest getRealRequest(javax.servlet.http.HttpServletRequest request)
request - the incoming HTTP request
public static void resumeInterruptedRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
request - current HTTP requestresponse - HTTP response
IOException
public 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 response
javax.servlet.ServletException
IOException
public static void loggedIn(Context context,
javax.servlet.http.HttpServletRequest request,
EPerson eperson)
context - DSpace contextrequest - HTTP requesteperson - the eperson logged in
public static void loggedOut(Context context,
javax.servlet.http.HttpServletRequest request)
context - DSpace contextrequest - HTTP request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||