public class LoginMechanism extends java.lang.Object implements AuthenticationMechanism
| Constructor and Description |
|---|
LoginMechanism() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationServer server,
java.lang.String user,
char[] password)
Authenticates the client at the AuthenticationServer.
|
public void authenticate(AuthenticationServer server, java.lang.String user, char[] password) throws java.io.IOException, AuthenticationException
AuthenticationMechanismauthenticate in interface AuthenticationMechanismserver - the AuthenticationServer to connect withuser - the usernamepassword - the passwordjava.io.IOExceptionAuthenticationExceptionAuthenticationMechanism.authenticate(org.columba.ristretto.auth.AuthenticationServer,
java.lang.String, char[])Copyright © 2022. All Rights Reserved.