com.norbl.cbp.ppe.usermonitor
Class PostAuthorizationHandler
java.lang.Object
com.norbl.cbp.ppe.usermonitor.PostAuthorizationHandler
- All Implemented Interfaces:
- org.apache.http.protocol.HttpRequestHandler
public class PostAuthorizationHandler
- extends java.lang.Object
- implements org.apache.http.protocol.HttpRequestHandler
After 'Co-Branded Service' (CBUI) authorization (AWS site), the user's
browser is passed to 'returnURL', which is the SimpleHttpServer
running in UserMonitor
. This method handles that redirction. It
records authorization information in the db and then displaus a
static message indicating that authorization is complete.
Method Summary |
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostAuthorizationHandler
public PostAuthorizationHandler(UserDb userDb)
handle
public void handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context)
throws org.apache.http.HttpException,
java.io.IOException
- Specified by:
handle
in interface org.apache.http.protocol.HttpRequestHandler
- Throws:
org.apache.http.HttpException
java.io.IOException