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
AuthenticationMechanism
authenticate
in interface AuthenticationMechanism
server
- the AuthenticationServer to connect withuser
- the usernamepassword
- the passwordjava.io.IOException
AuthenticationException
AuthenticationMechanism.authenticate(org.columba.ristretto.auth.AuthenticationServer,
java.lang.String, char[])
Copyright © 2021. All Rights Reserved.