wh0 opened a new pull request #107: Record which AuthorizedKeyEntry is used to authenticate URL: https://github.com/apache/mina-sshd/pull/107 This adds a new class, `AuthorizedKeyEntriesPublickeyAuthenticator`, based on the existing `KeySetPublickeyAuthenticator` and `resolvePublicKeyEntries`. It provides enhanced functionality over these existing routines by remembering the `AuthorizedKeyEntry`s, where the previous functionality discards everything but the public key. This class records the matching entry into the session, as an attribute, which will enable custom session functionality to make decisions based the `AuthorizedKeyEntry`'s options. This changes `PublickeyAuthenticator.fromAuthorizedEntries` to create an `AuthorizedKeyEntriesPublickeyAuthenticator` instead of a `KeySetPublickeyAuthenticator`. This will affect `AuthorizedKeysAuthenticator`, which uses `PublickeyAuthenticator.fromAuthorizedEntries`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
