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

Method Summary
 boolean authenticate(String username, PublicKey key, ServerSession session)
          Check the validity of a public key.
 

Method Detail

authenticate

boolean authenticate(String username,
                     PublicKey key,
                     ServerSession session)
Check the validity of a public key.

Parameters:
username - the username
key - the key
session - the server session
Returns:
a boolean indicating if authentication succeeded or not


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.