public class PlainMechanism extends java.lang.Object implements AuthenticationMechanism
| Constructor and Description | 
|---|
PlainMechanism()  | 
| 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 © 2021. All Rights Reserved.