|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthenticationPlugin
An interface a plugin should implement if it wants to add custom authentication for ssh.
Method Summary | |
---|---|
boolean |
authenticate(String username,
String password)
Returns true if the user is authentified by its username and password. |
String |
getName()
Returns the authentication plugin name. |
Method Detail |
---|
String getName()
boolean authenticate(String username, String password) throws Exception
username
- the usernamepassword
- the password
Exception
- any exception that would prevent authentication to happen
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |