Package com.liferay.portal.security.auth
Class AuthPipeline
Object
com.liferay.portal.security.auth.AuthPipeline
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
authenticateByEmailAddress
(String key, long companyId, String emailAddress, String password, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static int
authenticateByScreenName
(String key, long companyId, String screenName, String password, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static int
authenticateByUserId
(String key, long companyId, long userId, String password, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onDoesNotExist
(long companyId, String authType, String login, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onFailureByEmailAddress
(String key, long companyId, String emailAddress, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onFailureByScreenName
(String key, long companyId, String screenName, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onFailureByUserId
(String key, long companyId, long userId, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onMaxFailuresByEmailAddress
(String key, long companyId, String emailAddress, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onMaxFailuresByScreenName
(String key, long companyId, String screenName, Map<String, String[]> headerMap, Map<String, String[]> parameterMap) static void
onMaxFailuresByUserId
(String key, long companyId, long userId, Map<String, String[]> headerMap, Map<String, String[]> parameterMap)
-
Constructor Details
-
AuthPipeline
public AuthPipeline()
-
-
Method Details
-
authenticateByEmailAddress
public static int authenticateByEmailAddress(String key, long companyId, String emailAddress, String password, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
authenticateByScreenName
public static int authenticateByScreenName(String key, long companyId, String screenName, String password, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
authenticateByUserId
public static int authenticateByUserId(String key, long companyId, long userId, String password, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onDoesNotExist
public static void onDoesNotExist(long companyId, String authType, String login, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onFailureByEmailAddress
public static void onFailureByEmailAddress(String key, long companyId, String emailAddress, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onFailureByScreenName
public static void onFailureByScreenName(String key, long companyId, String screenName, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onFailureByUserId
public static void onFailureByUserId(String key, long companyId, long userId, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onMaxFailuresByEmailAddress
public static void onMaxFailuresByEmailAddress(String key, long companyId, String emailAddress, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onMaxFailuresByScreenName
public static void onMaxFailuresByScreenName(String key, long companyId, String screenName, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-
onMaxFailuresByUserId
public static void onMaxFailuresByUserId(String key, long companyId, long userId, Map<String, String[]> headerMap, Map<String, throws com.liferay.portal.kernel.security.auth.AuthExceptionString[]> parameterMap) - Throws:
com.liferay.portal.kernel.security.auth.AuthException
-