public interface OpenIdRelyingPartySpi
OpenIdRelyingPartyApi.
Most methods in this interface have a responseHolder parameter, which
contains the HTTP response. This is a way of handing over the control over
the browser to the application. The application is responsible for writing
the response (either a normal HTML response, or an error, or a redirect).
Typically, the application will redirect the user to a URL within the
application.| Modifier and Type | Method and Description |
|---|---|
void |
loginFailed(String message,
ResponseHolder responseHolder)
This method is called after failed external authentication of the user.
|
void |
loginSucceeded(OpenIdPrincipal principal,
ResponseHolder responseHolder)
This method is called after successful external authentication of the
user.
|
void loginSucceeded(OpenIdPrincipal principal, ResponseHolder responseHolder)
OpenIdRelyingPartyApi.login(java.lang.String, java.util.List<org.jboss.seam.security.external.openid.api.OpenIdRequestedAttribute>, javax.servlet.http.HttpServletResponse). The dialogue can be used, for
example, to store the page that the user requested, so that the user can
be redirected to this page after login took place.principal - principalresponseHolder - object holding the HTTP servlet responsevoid loginFailed(String message, ResponseHolder responseHolder)
OpenIdRelyingPartyApi.login(java.lang.String, java.util.List<org.jboss.seam.security.external.openid.api.OpenIdRequestedAttribute>, javax.servlet.http.HttpServletResponse).message - reason why the login failedresponseHolder - object holding the HTTP servlet responseCopyright © 2013 Seam Framework. All Rights Reserved.