public class KarafJaasAuthenticator extends Object implements org.apache.sshd.server.PasswordAuthenticator, org.apache.sshd.server.PublickeyAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static org.apache.sshd.common.Session.AttributeKey<Subject> |
SUBJECT_ATTRIBUTE_KEY |
| Constructor and Description |
|---|
KarafJaasAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
PublicKey key,
org.apache.sshd.server.session.ServerSession session) |
boolean |
authenticate(String username,
String password,
org.apache.sshd.server.session.ServerSession session) |
String |
getRealm() |
void |
setRealm(String realm) |
public static final org.apache.sshd.common.Session.AttributeKey<Subject> SUBJECT_ATTRIBUTE_KEY
public String getRealm()
public void setRealm(String realm)
public boolean authenticate(String username, String password, org.apache.sshd.server.session.ServerSession session)
authenticate in interface org.apache.sshd.server.PasswordAuthenticatorCopyright © 2007–2015 The Apache Software Foundation. All rights reserved.