com.dyuproject.demos.openidservlet
Class MyContextListener
java.lang.Object
com.dyuproject.demos.openidservlet.MyContextListener
- All Implemented Interfaces:
- RelyingParty.Listener, EventListener, ServletContextListener
public class MyContextListener
- extends Object
- implements ServletContextListener, RelyingParty.Listener
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyContextListener
public MyContextListener()
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed
in interface ServletContextListener
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized
in interface ServletContextListener
onDiscovery
public void onDiscovery(OpenIdUser user,
HttpServletRequest request)
- Specified by:
onDiscovery
in interface RelyingParty.Listener
onPreAuthenticate
public void onPreAuthenticate(OpenIdUser user,
HttpServletRequest request,
UrlEncodedParameterMap params)
- Specified by:
onPreAuthenticate
in interface RelyingParty.Listener
onAuthenticate
public void onAuthenticate(OpenIdUser user,
HttpServletRequest request)
- Specified by:
onAuthenticate
in interface RelyingParty.Listener
onAccess
public void onAccess(OpenIdUser user,
HttpServletRequest request)
- Specified by:
onAccess
in interface RelyingParty.Listener
Copyright © 2013. All Rights Reserved.