com.tensegrity.palowebviewer.server.security
Class TestEnviromentAuthenificator
java.lang.Object
com.tensegrity.palowebviewer.server.security.BaseMd5Authentificator
com.tensegrity.palowebviewer.server.security.TestEnviromentAuthenificator
- All Implemented Interfaces:
- IAuthenificator
public class TestEnviromentAuthenificator
- extends BaseMd5Authentificator
Authenificator for using with GWT Development shell
Method Summary |
IUser |
authentificate(java.lang.String login,
java.lang.String password)
Authenificate user by login and password |
IUser |
hashAuthentificate(java.lang.String login,
java.lang.String hash)
Authenificate user by login and password hash |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestEnviromentAuthenificator
public TestEnviromentAuthenificator(PaloConfiguration cfg)
throws PaloWebViewerException
- Throws:
PaloWebViewerException
authentificate
public IUser authentificate(java.lang.String login,
java.lang.String password)
throws InvalidLoginOrPasswordException,
AuthenticationException
- Description copied from interface:
IAuthenificator
- Authenificate user by login and password
- Parameters:
login
- - User loginpassword
- - User password
- Returns:
-
- Throws:
InvalidLoginOrPasswordException
- - Invalid login or(and) password
AuthenticationException
hashAuthentificate
public IUser hashAuthentificate(java.lang.String login,
java.lang.String hash)
throws InvalidLoginOrPasswordException,
AuthenticationException
- Description copied from interface:
IAuthenificator
- Authenificate user by login and password hash
- Parameters:
login
- - User loginhash
- - User password hash
- Returns:
-
- Throws:
InvalidLoginOrPasswordException
- - Invalid login or(and) password
AuthenticationException