Interface SSHKeyAuthenticator
-
public interface SSHKeyAuthenticatorService that authenticates platform users based on aPublicKey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.errai.security.shared.api.identity.Userauthenticate(String userName, PublicKey key)Authenticates the given user andPublicKey
-
-
-
Method Detail
-
authenticate
org.jboss.errai.security.shared.api.identity.User authenticate(String userName, PublicKey key)
Authenticates the given user andPublicKey- Parameters:
userName- The login of the userkey- ThePublicKeyfor the given user- Returns:
- A
Userinstance if the userName exists on the platform and has a matching key registered on the currentSSHKeyStore. Null if the user doesn't exist or the key isn't valid.
-
-