Uses of Interface
org.apache.sshd.server.session.ServerSession
Packages that use ServerSession
Package
Description
-
Uses of ServerSession in org.apache.sshd.server
Subinterfaces with type arguments of type ServerSession in org.apache.sshd.serverModifier and TypeInterfaceDescriptioninterfaceHolds providers and helpers related to the server side authentication process -
Uses of ServerSession in org.apache.sshd.server.auth
Subclasses with type arguments of type ServerSession in org.apache.sshd.server.authSubinterfaces with type arguments of type ServerSession in org.apache.sshd.server.authModifier and TypeInterfaceDescriptioninterfaceServer side authentication mechanism.interfaceMethods in org.apache.sshd.server.auth that return ServerSessionModifier and TypeMethodDescriptionAbstractUserAuth.getServerSession()AbstractUserAuth.getSession()Methods in org.apache.sshd.server.auth with parameters of type ServerSessionModifier and TypeMethodDescriptionAbstractUserAuth.auth(ServerSession session, String username, String service, org.apache.sshd.common.util.buffer.Buffer buffer) UserAuth.auth(ServerSession session, String username, String service, org.apache.sshd.common.util.buffer.Buffer buffer) Try to authenticate the user.UserAuthNoneFactory.createUserAuth(ServerSession session) -
Uses of ServerSession in org.apache.sshd.server.auth.gss
Methods in org.apache.sshd.server.auth.gss with parameters of type ServerSessionModifier and TypeMethodDescriptionUserAuthGSSFactory.createUserAuth(ServerSession session) booleanGSSAuthenticator.validateIdentity(ServerSession session, String identity) Validate the source identity obtained from the context after negotiation is complete.booleanGSSAuthenticator.validateInitialUser(ServerSession session, String user) Validate the user name passed in the initial SSH_MSG_USERAUTH_REQUEST message. -
Uses of ServerSession in org.apache.sshd.server.auth.hostbased
Methods in org.apache.sshd.server.auth.hostbased with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanHostBasedAuthenticator.authenticate(ServerSession session, String username, PublicKey clientHostKey, String clientHostName, String clientUsername, List<X509Certificate> certificates) final booleanStaticHostBasedAuthenticator.authenticate(ServerSession session, String username, PublicKey clientHostKey, String clientHostName, String clientUsername, List<X509Certificate> certificates) UserAuthHostBasedFactory.createUserAuth(ServerSession session) protected voidStaticHostBasedAuthenticator.handleAcceptance(ServerSession session, String username, PublicKey clientHostKey, String clientHostName, String clientUsername, List<X509Certificate> certificates) protected voidStaticHostBasedAuthenticator.handleRejection(ServerSession session, String username, PublicKey clientHostKey, String clientHostName, String clientUsername, List<X509Certificate> certificates) -
Uses of ServerSession in org.apache.sshd.server.auth.keyboard
Methods in org.apache.sshd.server.auth.keyboard with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanDefaultKeyboardInteractiveAuthenticator.authenticate(ServerSession session, String username, List<String> responses) booleanKeyboardInteractiveAuthenticator.authenticate(ServerSession session, String username, List<String> responses) Called to authenticate the response to the challenge(s) sent previouslyUserAuthKeyboardInteractiveFactory.createUserAuth(ServerSession session) protected BooleanUserAuthKeyboardInteractive.doInitialAuth(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) protected BooleanUserAuthKeyboardInteractive.doValidateAuthResponse(ServerSession session, String username, KeyboardInteractiveAuthenticator auth, org.apache.sshd.common.util.buffer.Buffer buffer) DefaultKeyboardInteractiveAuthenticator.generateChallenge(ServerSession session, String username, String lang, String subMethods) KeyboardInteractiveAuthenticator.generateChallenge(ServerSession session, String username, String lang, String subMethods) Generates the interactive "challenge" to send to the clientprotected StringDefaultKeyboardInteractiveAuthenticator.getInteractionInstruction(ServerSession session) protected StringDefaultKeyboardInteractiveAuthenticator.getInteractionLanguage(ServerSession session) protected StringDefaultKeyboardInteractiveAuthenticator.getInteractionName(ServerSession session) protected StringDefaultKeyboardInteractiveAuthenticator.getInteractionPrompt(ServerSession session) protected booleanDefaultKeyboardInteractiveAuthenticator.isInteractionPromptEchoEnabled(ServerSession session) -
Uses of ServerSession in org.apache.sshd.server.auth.password
Methods in org.apache.sshd.server.auth.password with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanPasswordAuthenticator.authenticate(String username, String password, ServerSession session) Check the validity of a password.final booleanStaticPasswordAuthenticator.authenticate(String username, String password, ServerSession session) protected BooleanUserAuthPassword.checkPassword(org.apache.sshd.common.util.buffer.Buffer buffer, ServerSession session, String username, String password) Invokes the configuredPasswordAuthenticatorand returns the result.UserAuthPasswordFactory.createUserAuth(ServerSession session) protected voidStaticPasswordAuthenticator.handleAcceptance(String username, String password, ServerSession session) default booleanPasswordAuthenticator.handleClientPasswordChangeRequest(ServerSession session, String username, String oldPassword, String newPassword) Invoked when the client sends aSSH_MSG_USERAUTH_REQUESTindicating a password change.protected BooleanUserAuthPassword.handleClientPasswordChangeRequest(org.apache.sshd.common.util.buffer.Buffer buffer, ServerSession session, String username, String oldPassword, String newPassword) Invoked when the client sends aSSH_MSG_USERAUTH_REQUESTindicating a password change.protected voidStaticPasswordAuthenticator.handleRejection(String username, String password, ServerSession session) protected BooleanUserAuthPassword.handleServerPasswordChangeRequest(org.apache.sshd.common.util.buffer.Buffer buffer, ServerSession session, String username, String password, PasswordChangeRequiredException e) Invoked byUserAuthPassword.checkPassword(Buffer, ServerSession, String, String)when aPasswordChangeRequiredExceptionwas thrown by the authenticator. -
Uses of ServerSession in org.apache.sshd.server.auth.pubkey
Methods in org.apache.sshd.server.auth.pubkey with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanAuthorizedKeyEntriesPublickeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session) booleanCachingPublicKeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session) booleanKeySetPublickeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session) booleanKeySetPublickeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session, Collection<? extends PublicKey> keys) booleanPublickeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session) Checks whether the givenPublicKeyis allowed to be used for authenticating user "username" in a session.final booleanStaticPublickeyAuthenticator.authenticate(String username, PublicKey key, ServerSession session) UserAuthPublicKeyFactory.createUserAuth(ServerSession session) static PublickeyAuthenticatorPublickeyAuthenticator.fromAuthorizedEntries(Object id, ServerSession session, Collection<? extends org.apache.sshd.common.config.keys.AuthorizedKeyEntry> entries, org.apache.sshd.common.config.keys.PublicKeyEntryResolver fallbackResolver) protected voidStaticPublickeyAuthenticator.handleAcceptance(String username, PublicKey key, ServerSession session) protected voidStaticPublickeyAuthenticator.handleRejection(String username, PublicKey key, ServerSession session) protected booleanAuthorizedKeyEntriesPublickeyAuthenticator.matchesPrincipals(org.apache.sshd.common.config.keys.AuthorizedKeyEntry entry, String username, org.apache.sshd.common.config.keys.OpenSshCertificate cert, ServerSession session) CachingPublicKeyAuthenticator.resolveCachedResults(String username, PublicKey key, ServerSession session) protected voidUserAuthPublicKey.sendPublicKeyResponse(ServerSession session, String username, String alg, PublicKey key, byte[] keyBlob, int offset, int blobLen, org.apache.sshd.common.util.buffer.Buffer buffer) protected voidUserAuthPublicKey.verifyCertificateSignature(ServerSession session, org.apache.sshd.common.config.keys.OpenSshCertificate cert) protected voidUserAuthPublicKey.verifyCertificateSources(ServerSession session, org.apache.sshd.common.config.keys.OpenSshCertificate cert) protected booleanUserAuthPublicKey.verifySignature(ServerSession session, String username, String alg, PublicKey key, org.apache.sshd.common.util.buffer.Buffer buffer, org.apache.sshd.common.signature.Signature verifier, byte[] sig) Constructors in org.apache.sshd.server.auth.pubkey with parameters of type ServerSessionModifierConstructorDescriptionAuthorizedKeyEntriesPublickeyAuthenticator(Object id, ServerSession session, Collection<? extends org.apache.sshd.common.config.keys.AuthorizedKeyEntry> entries, org.apache.sshd.common.config.keys.PublicKeyEntryResolver fallbackResolver) -
Uses of ServerSession in org.apache.sshd.server.channel
Methods in org.apache.sshd.server.channel that return ServerSessionModifier and TypeMethodDescriptiondefault ServerSessionServerChannel.getServerSession()ChannelSession.getSession()Methods in org.apache.sshd.server.channel with parameters of type ServerSessionModifier and TypeMethodDescriptionprotected RequestHandler.ResultChannelSession.handleX11ForwardingParsed(String requestType, ServerSession session, boolean singleConnection, String authProtocol, String authCookie, int screenId) -
Uses of ServerSession in org.apache.sshd.server.command
Classes in org.apache.sshd.server.command that implement interfaces with type arguments of type ServerSessionMethods in org.apache.sshd.server.command that return ServerSessionModifier and TypeMethodDescriptionAbstractCommandSupport.getServerSession()AbstractCommandSupport.getSession()Methods in org.apache.sshd.server.command with parameters of type ServerSession -
Uses of ServerSession in org.apache.sshd.server.config.keys
Methods in org.apache.sshd.server.config.keys with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanAuthorizedKeysAuthenticator.authenticate(String username, PublicKey key, ServerSession session) protected PublickeyAuthenticatorAuthorizedKeysAuthenticator.createDelegateAuthenticator(String username, ServerSession session, Path path, Collection<org.apache.sshd.common.config.keys.AuthorizedKeyEntry> entries, org.apache.sshd.common.config.keys.PublicKeyEntryResolver fallbackResolver) protected booleanAuthorizedKeysAuthenticator.isValidUsername(String username, ServerSession session) protected booleanDefaultAuthorizedKeysAuthenticator.isValidUsername(String username, ServerSession session) protected Collection<org.apache.sshd.common.config.keys.AuthorizedKeyEntry> AuthorizedKeysAuthenticator.reloadAuthorizedKeys(Path path, String username, ServerSession session) protected Collection<org.apache.sshd.common.config.keys.AuthorizedKeyEntry> DefaultAuthorizedKeysAuthenticator.reloadAuthorizedKeys(Path path, String username, ServerSession session) protected PublickeyAuthenticatorAuthorizedKeysAuthenticator.resolvePublickeyAuthenticator(String username, ServerSession session) -
Uses of ServerSession in org.apache.sshd.server.jaas
Methods in org.apache.sshd.server.jaas with parameters of type ServerSessionModifier and TypeMethodDescriptionbooleanJaasPasswordAuthenticator.authenticate(String username, String password, ServerSession session) -
Uses of ServerSession in org.apache.sshd.server.kex
Methods in org.apache.sshd.server.kex that return ServerSessionModifier and TypeMethodDescriptionfinal ServerSessionAbstractDHServerKeyExchange.getServerSession()Methods in org.apache.sshd.server.kex with parameters of type ServerSessionModifier and TypeMethodDescriptionprotected List<Moduli.DhGroup> DHGEXServer.loadModuliGroups(ServerSession session) protected List<Moduli.DhGroup> DHGEXServer.selectModuliGroups(ServerSession session, int min, int prf, int max, List<Moduli.DhGroup> groups) -
Uses of ServerSession in org.apache.sshd.server.session
Classes in org.apache.sshd.server.session that implement ServerSessionModifier and TypeClassDescriptionclassProvides default implementations forServerSessionrelated methodsclassThe default implementation for aServerSessionMethods in org.apache.sshd.server.session that return ServerSessionModifier and TypeMethodDescriptionfinal ServerSessionServerConnectionService.getServerSession()ServerSessionHolder.getServerSession()ServerUserAuthService.getServerSession()ServerUserAuthService.getSession()Methods in org.apache.sshd.server.session with parameters of type ServerSessionModifier and TypeMethodDescriptionprotected booleanServerUserAuthService.handleUserAuthRequestMessage(ServerSession session, org.apache.sshd.common.util.buffer.Buffer buffer, AtomicReference<Boolean> authHolder) protected StringServerUserAuthService.loadWelcomeBanner(ServerSession session, URL url, Charset cs) protected StringServerUserAuthService.resolveWelcomeBanner(ServerSession session) org.apache.sshd.common.io.IoWriteFutureServerUserAuthService.sendWelcomeBanner(ServerSession session) Sends the welcome banner (if any configured) and if not already invokedvoidServerSessionAware.setSession(ServerSession session) -
Uses of ServerSession in org.apache.sshd.server.shell
Subinterfaces with type arguments of type ServerSession in org.apache.sshd.server.shellModifier and TypeInterfaceDescriptioninterfaceThis shell have inverted streams, such as the one obtained when launching a newProcessfrom java.Methods in org.apache.sshd.server.shell that return ServerSessionModifier and TypeMethodDescriptionProcessShell.getServerSession()default ServerSessionInvertedShell.getSession()Methods in org.apache.sshd.server.shell with parameters of type ServerSessionModifier and TypeMethodDescriptionvoidInvertedShellWrapper.setSession(ServerSession session) voidProcessShell.setSession(ServerSession session)