public class DigestMD5Mechanism extends java.lang.Object implements AuthenticationMechanism, javax.security.auth.callback.CallbackHandler
Constructor and Description |
---|
DigestMD5Mechanism() |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(AuthenticationServer server,
java.lang.String user,
char[] password)
Authenticates the client at the AuthenticationServer.
|
void |
handle(javax.security.auth.callback.Callback[] callbacks) |
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[])
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
CallbackHandler.handle(javax.security.auth.callback.Callback[])
Copyright © 2021. All Rights Reserved.