org.apache.sshd.server
Interface PublickeyAuthenticator
public interface PublickeyAuthenticator
The PublickeyAuthenticator
is used on the server side
to authenticate user public keys.
- Author:
- Apache MINA SSHD Project
authenticate
boolean authenticate(String username,
PublicKey key,
ServerSession session)
- Check the validity of a public key.
- Parameters:
username
- the usernamekey
- the keysession
- the server session
- Returns:
- a boolean indicating if authentication succeeded or not
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.