Class ASGAuthProvider
java.lang.Object
net.anotheria.portalkit.adminapi.api.auth.provider.ASGAuthProvider
- All Implemented Interfaces:
AuthProvider
Auth provider that uses ASG users to perform authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(String login, String password) Performs user authentication by login in password.Returns type of auth provider
-
Constructor Details
-
ASGAuthProvider
protected ASGAuthProvider(boolean unitTests) -
ASGAuthProvider
public ASGAuthProvider()
-
-
Method Details
-
authenticate
Description copied from interface:AuthProviderPerforms user authentication by login in password. If credentials are invalid, throws an exception. If credentials are valid, then nothing.- Specified by:
authenticatein interfaceAuthProvider- Parameters:
login- loginpassword- password- Throws:
AdminAuthenticationProviderException- in case of invalid credentials.
-
getProviderType
Description copied from interface:AuthProviderReturns type of auth provider- Specified by:
getProviderTypein interfaceAuthProvider- Returns:
AuthProviderType
-