public interface SSHKeyAuthenticator
PublicKey| Modifier and Type | Method and Description |
|---|---|
org.jboss.errai.security.shared.api.identity.User |
authenticate(String userName,
PublicKey key)
Authenticates the given user and
PublicKey |
org.jboss.errai.security.shared.api.identity.User authenticate(String userName, PublicKey key)
PublicKeyuserName - The login of the userkey - The PublicKey for the given userUser 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.Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.