Interface SSHKeyAuthenticator


  • public interface SSHKeyAuthenticator
    Service that authenticates platform users based on a PublicKey
    • Method Detail

      • authenticate

        org.jboss.errai.security.shared.api.identity.User authenticate​(String userName,
                                                                       PublicKey key)
        Authenticates the given user and PublicKey
        Parameters:
        userName - The login of the user
        key - The PublicKey for the given user
        Returns:
        A User instance if the userName exists on the platform and has a matching key registered on the current SSHKeyStore. Null if the user doesn't exist or the key isn't valid.