com.dyuproject.openid
Interface RelyingParty.Listener

All Known Subinterfaces:
Extension
All Known Implementing Classes:
AbstractExtension, AxSchemaExtension, RelyingParty.ListenerCollection, SRegExtension
Enclosing class:
RelyingParty

public static interface RelyingParty.Listener

Enables users to get notified on certain points of the openid authentication lifecycle.


Method Summary
 void onAccess(OpenIdUser user, HttpServletRequest request)
          Callback that gets called everytime an authenticated user accesses protected pages from the relying party's site.
 void onAuthenticate(OpenIdUser user, HttpServletRequest request)
          Callback that gets called when the user has been redirected back to the relying party's site and his authentication has been successfully verified.
 void onDiscovery(OpenIdUser user, HttpServletRequest request)
          Callback that gets called upon successful discovery.
 void onPreAuthenticate(OpenIdUser user, HttpServletRequest request, UrlEncodedParameterMap params)
          Callback that gets called before the user is redirected to this provider for authentication.
 

Method Detail

onDiscovery

void onDiscovery(OpenIdUser user,
                 HttpServletRequest request)
Callback that gets called upon successful discovery.


onPreAuthenticate

void onPreAuthenticate(OpenIdUser user,
                       HttpServletRequest request,
                       UrlEncodedParameterMap params)
Callback that gets called before the user is redirected to this provider for authentication.


onAuthenticate

void onAuthenticate(OpenIdUser user,
                    HttpServletRequest request)
Callback that gets called when the user has been redirected back to the relying party's site and his authentication has been successfully verified.


onAccess

void onAccess(OpenIdUser user,
              HttpServletRequest request)
Callback that gets called everytime an authenticated user accesses protected pages from the relying party's site. This could be used as a counter for page views.



Copyright © 2008-2013. All Rights Reserved.