|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.openid.RelyingParty.ListenerCollection
public static final class RelyingParty.ListenerCollection
A collection of listeners that wraps an array to delegate the methods from
the relying party listener
.
Constructor Summary | |
---|---|
RelyingParty.ListenerCollection()
|
Method Summary | |
---|---|
RelyingParty.ListenerCollection |
addListener(RelyingParty.Listener listener)
Adds a listener. |
int |
indexOf(RelyingParty.Listener listener)
Gets the index of the listener on the wrapped array. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RelyingParty.ListenerCollection()
Method Detail |
---|
public RelyingParty.ListenerCollection addListener(RelyingParty.Listener listener)
public int indexOf(RelyingParty.Listener listener)
public void onDiscovery(OpenIdUser user, HttpServletRequest request)
RelyingParty.Listener
onDiscovery
in interface RelyingParty.Listener
public void onPreAuthenticate(OpenIdUser user, HttpServletRequest request, UrlEncodedParameterMap params)
RelyingParty.Listener
onPreAuthenticate
in interface RelyingParty.Listener
public void onAuthenticate(OpenIdUser user, HttpServletRequest request)
RelyingParty.Listener
onAuthenticate
in interface RelyingParty.Listener
public void onAccess(OpenIdUser user, HttpServletRequest request)
RelyingParty.Listener
onAccess
in interface RelyingParty.Listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |