This method should be implemented for post-processing after a successful authentication. Authentication Service will invoke this method on successful authentication.
Method signature is:
public void onLoginSuccess(Map requestParamsMap,
HttpServletRequest request,
HttpServletResponse response,
SSOToken ssoToken)
throws AuthenticationException;
where
requestParamaMap is a map containing HttpServletRequest parameters
request HttpServletRequest object
response HttpServletResponse object
com.sun.identity.authentication.spi.AuthenticationException is thrown on error.