|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.higgins.rp.servlet.server.Login
Login This helper method will be called from the application after it has received an authentication token. The method calls the authenticate method of the protocol handler to continue processing the authentication. The authentication method of the protocol handler keeps track of authentication state and knows when to transition between states.
| Constructor Summary | |
|---|---|
Login()
|
|
| Method Summary | |
|---|---|
static void |
ContinueAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Utility routine which continues authentication after POST. |
static boolean |
handleInvalidRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Utility routine which detects if the current request is a valid request i.e. |
static void |
newAuthSession(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Restarts a new Authentication session with the assumption that the protected resource is '/' Used when the login page is bookmarked etc. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Login()
| Method Detail |
public static void ContinueAuthentication(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException
req - current request objectresp - current response object
IOException
public static void newAuthSession(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
req - current request objectresp - current response object
public static boolean handleInvalidRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
req - current request objectresp - current response object
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||