org.talika.tarsis.security
Interface Authenticator
- All Known Implementing Classes:
- AuthenticatorService, MemoryAuthenticator
public interface Authenticator
Interface that defines an authenticator component in Tarsis MVC Framework.
Authenticator component is responsible of manage authentication of users.
- Version:
- $Revision: 124 $
- Author:
- Jose M. Palomar
Method Summary |
SecuritySession |
login(java.lang.String user,
java.lang.String password)
Checks if given user and password are correct. |
login
SecuritySession login(java.lang.String user,
java.lang.String password)
throws AuthenticationFailedException
- Checks if given user and password are correct.
- Parameters:
user
- String user name.password
- String user password.
- Returns:
- SecuritySession security session created from given user and password.
- Throws:
AuthenticationFailedException
- if user and/or password aren't correct.
Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.