Class AuthDataClient
- java.lang.Object
-
- fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
-
- fr.paris.lutece.plugins.mylutece.modules.oauth2.authentication.AuthDataClient
-
- All Implemented Interfaces:
fr.paris.lutece.plugins.oauth2.dataclient.DataClient
public class AuthDataClient extends fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClientUserInfoDataClient
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringERROR_TYPE_LOGIN_REQUIREDstatic java.lang.StringPARAM_ERROR_LOGINstatic java.lang.StringPARAM_NEXT_URLstatic java.lang.StringREINIT_ERROR_LOGINstatic java.lang.StringSESSION_ERROR_LOGIN
-
Constructor Summary
Constructors Constructor Description AuthDataClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String strError)voidhandleToken(fr.paris.lutece.plugins.oauth2.business.Token token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)-
Methods inherited from class fr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
getAcrValues, getAcrValuesSet, getData, getDataServerUri, getName, getPostLogoutRedirectUri, getRedirectUri, getScope, getScopes, getTokenMethod, isDefault, setAcrValuesSet, setDataServerUri, setDefault, setName, setPostLogoutRedirectUri, setRedirectUri, setScope, setTokenMethod
-
-
-
-
Field Detail
-
ERROR_TYPE_LOGIN_REQUIRED
public static final java.lang.String ERROR_TYPE_LOGIN_REQUIRED
- See Also:
- Constant Field Values
-
REINIT_ERROR_LOGIN
public static final java.lang.String REINIT_ERROR_LOGIN
- See Also:
- Constant Field Values
-
SESSION_ERROR_LOGIN
public static final java.lang.String SESSION_ERROR_LOGIN
- See Also:
- Constant Field Values
-
PARAM_ERROR_LOGIN
public static final java.lang.String PARAM_ERROR_LOGIN
- See Also:
- Constant Field Values
-
PARAM_NEXT_URL
public static final java.lang.String PARAM_NEXT_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
handleToken
public void handleToken(fr.paris.lutece.plugins.oauth2.business.Token token, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
handleError
public void handleError(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String strError)- Specified by:
handleErrorin interfacefr.paris.lutece.plugins.oauth2.dataclient.DataClient- Overrides:
handleErrorin classfr.paris.lutece.plugins.oauth2.dataclient.AbstractDataClient
-
-