public class OpenEJBJaasPasswordAuthenticator
extends org.apache.sshd.server.jaas.JaasPasswordAuthenticator
| Modifier and Type | Field and Description |
|---|---|
static org.apache.sshd.common.Session.AttributeKey<LoginContext> |
LOGIN_CONTEXT_KEY |
static org.apache.sshd.common.Session.AttributeKey<String> |
USERNAME_KEY |
| Constructor and Description |
|---|
OpenEJBJaasPasswordAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(String username,
String password,
org.apache.sshd.server.session.ServerSession session) |
public static final org.apache.sshd.common.Session.AttributeKey<String> USERNAME_KEY
public static final org.apache.sshd.common.Session.AttributeKey<LoginContext> LOGIN_CONTEXT_KEY
public boolean authenticate(String username, String password, org.apache.sshd.server.session.ServerSession session)
authenticate in interface org.apache.sshd.server.PasswordAuthenticatorauthenticate in class org.apache.sshd.server.jaas.JaasPasswordAuthenticatorCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.