org.crsh.ssh
Interface AuthenticationPlugin
public interface AuthenticationPlugin
An interface a plugin should implement if it wants to add custom authentication for ssh.
- Version:
- $Revision$
- Author:
- Nick Scavelli
|
Method Summary |
boolean |
authenticate(String username,
String password)
Returns true if the user is authentified by its username and password. |
authenticate
boolean authenticate(String username,
String password)
throws Exception
- Returns true if the user is authentified by its username and password.
- Parameters:
username - the usernamepassword - the password
- Returns:
- true if authentication succeeded
- Throws:
Exception - any exception that would prevent authentication to happen
Copyright © 2012 eXo Platform SAS. All Rights Reserved.