com.atlassian.seraph.interceptor
Interface LoginInterceptor

All Superinterfaces:
Initable, Interceptor

public interface LoginInterceptor
extends Interceptor

Allows interception of logins. Useful for doing things like running code after a user logs in (ie date of last login), cleaning up resources when a user logs out, or tracking the number of failed authentication attempts against a particular user.


Method Summary
 void afterLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin, String loginStatus)
           
 void beforeLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin)
           
 
Methods inherited from interface com.atlassian.seraph.interceptor.Interceptor
destroy
 
Methods inherited from interface com.atlassian.seraph.Initable
init
 

Method Detail

beforeLogin

void beforeLogin(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 String username,
                 String password,
                 boolean cookieLogin)

afterLogin

void afterLogin(javax.servlet.http.HttpServletRequest request,
                javax.servlet.http.HttpServletResponse response,
                String username,
                String password,
                boolean cookieLogin,
                String loginStatus)


Copyright © 2013 Atlassian. All Rights Reserved.