Package org.apache.karaf.shell.ssh
Class KarafJaasAuthenticator
- java.lang.Object
-
- org.apache.karaf.shell.ssh.KarafJaasAuthenticator
-
- All Implemented Interfaces:
org.apache.sshd.server.auth.password.PasswordAuthenticator,org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator
public class KarafJaasAuthenticator extends Object implements org.apache.sshd.server.auth.password.PasswordAuthenticator, org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.sshd.common.AttributeRepository.AttributeKey<Subject>SUBJECT_ATTRIBUTE_KEY
-
Constructor Summary
Constructors Constructor Description KarafJaasAuthenticator(String realm, String role, Class<?>[] roleClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthenticate(String username, String password, org.apache.sshd.server.session.ServerSession session)booleanauthenticate(String username, PublicKey key, org.apache.sshd.server.session.ServerSession session)
-
-
-
Field Detail
-
SUBJECT_ATTRIBUTE_KEY
public static final org.apache.sshd.common.AttributeRepository.AttributeKey<Subject> SUBJECT_ATTRIBUTE_KEY
-
-