added AuthenticationListener

This commit is contained in:
Sebastian Sdorra
2011-01-07 11:57:15 +01:00
parent c65539265d
commit 4a490499f9
6 changed files with 221 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ import javax.servlet.http.HttpServletResponse;
* @author Sebastian Sdorra
*/
@Singleton
public class ChainAuthenticatonManager implements AuthenticationManager
public class ChainAuthenticatonManager extends AbstractAuthenticationManager
{
/** the logger for ChainAuthenticatonManager */
@@ -124,6 +124,9 @@ public class ChainAuthenticatonManager implements AuthenticationManager
{
user = result.getUser();
user.setType(authenticator.getType());
// notify authentication listeners
fireAuthenticationEvent(request, response, user);
}
break;