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(java.lang.String username, java.security.PublicKey key, ServerSession session)
          Check the validity of a public key.
 

Method Detail

authenticate

boolean authenticate(java.lang.String username,
                     java.security.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-2011 The Apache Software Foundation. All Rights Reserved.