Package org.exoplatform.oauth.filter
Class OAuthLoginServletFilter
- java.lang.Object
-
- org.exoplatform.oauth.filter.OAuthAbstractFilter
-
- org.exoplatform.oauth.filter.OAuthLoginServletFilter
-
- All Implemented Interfaces:
org.exoplatform.web.filter.Filter
public class OAuthLoginServletFilter extends OAuthAbstractFilter
- Author:
- Tuyen Nguyen The.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOAuthLoginServletFilter.MessageResolver
-
Field Summary
Fields Modifier and Type Field Description static StringCANCEL_OAUTHstatic StringCONFIRM_ACCOUNTstatic StringCONFIRM_REGISTER_ACCOUNTstatic StringCONTROLLER_PARAM_NAMEstatic StringREGISTER_NEW_ACCOUNTstatic StringSESSION_ATTR_REGISTER_NEW_ACCOUNT-
Fields inherited from class org.exoplatform.oauth.filter.OAuthAbstractFilter
container, COOKIE_LAST_LOGIN
-
-
Constructor Summary
Constructors Constructor Description OAuthLoginServletFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)protected voidexecuteFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain)-
Methods inherited from class org.exoplatform.oauth.filter.OAuthAbstractFilter
getContext, getService, isOauthEnable
-
-
-
-
Field Detail
-
CONTROLLER_PARAM_NAME
public static final String CONTROLLER_PARAM_NAME
- See Also:
- Constant Field Values
-
CANCEL_OAUTH
public static final String CANCEL_OAUTH
- See Also:
- Constant Field Values
-
CONFIRM_ACCOUNT
public static final String CONFIRM_ACCOUNT
- See Also:
- Constant Field Values
-
REGISTER_NEW_ACCOUNT
public static final String REGISTER_NEW_ACCOUNT
- See Also:
- Constant Field Values
-
CONFIRM_REGISTER_ACCOUNT
public static final String CONFIRM_REGISTER_ACCOUNT
- See Also:
- Constant Field Values
-
SESSION_ATTR_REGISTER_NEW_ACCOUNT
public static final String SESSION_ATTR_REGISTER_NEW_ACCOUNT
- See Also:
- Constant Field Values
-
-
Method Detail
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfaceorg.exoplatform.web.filter.Filter- Overrides:
doFilterin classOAuthAbstractFilter- Throws:
IOExceptionjavax.servlet.ServletException
-
executeFilter
protected void executeFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
executeFilterin classOAuthAbstractFilter- Throws:
IOExceptionjavax.servlet.ServletException
-
-