hey folks--

i just learned about mina -- looks neat, thanks for offering it!

i'm interested in the configurable authentication classes, as documented
here:

 http://mina.apache.org/sshd/configuring-security.html

I note that the PasswordAuthenticator and PublickeyAuthenticator
interfaces are oddly asymmetric: PasswordAuthenticator returns a
non-null identity object if the authentication succeeds, but
PublickeyAuthenticator simply returns a boolean.  Why is this?

Also, should either authenticator do anything with the ServerSession
object passed in?  There does not seem to be any comment about that
parameter in the interface file.

(please excuse me if i have the terminology wrong -- i don't know much
java, and would appreciate any corrections or suggestions about
terminology or ways to think about these things more clearly).

Regards,

        --dkg

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to