ServerSession related methods
| Modifier and Type | Field and Description |
|---|---|
| private SocketAddress | |
| private GSSAuthenticator | |
| private HostBasedAuthenticator | |
| private HostKeyCertificateProvider | |
| private KeyboardInteractiveAuthenticator | |
| private KeyPairProvider | |
| private PasswordAuthenticator | |
| private ServerProxyAcceptor | |
| private PublickeyAuthenticator | |
| private List |
| Access | Constructor and Description |
|---|---|
| protected |
| clientAddress | back to summary |
|---|---|
| private SocketAddress clientAddress | |
| gssAuthenticator | back to summary |
|---|---|
| private GSSAuthenticator gssAuthenticator | |
| hostBasedAuthenticator | back to summary |
|---|---|
| private HostBasedAuthenticator hostBasedAuthenticator | |
| hostKeyCertificateProvider | back to summary |
|---|---|
| private HostKeyCertificateProvider hostKeyCertificateProvider | |
| interactiveAuthenticator | back to summary |
|---|---|
| private KeyboardInteractiveAuthenticator interactiveAuthenticator | |
| keyPairProvider | back to summary |
|---|---|
| private KeyPairProvider keyPairProvider | |
| passwordAuthenticator | back to summary |
|---|---|
| private PasswordAuthenticator passwordAuthenticator | |
| proxyAcceptor | back to summary |
|---|---|
| private ServerProxyAcceptor proxyAcceptor | |
| publickeyAuthenticator | back to summary |
|---|---|
| private PublickeyAuthenticator publickeyAuthenticator | |
| userAuthFactories | back to summary |
|---|---|
| private List<UserAuthFactory> userAuthFactories | |
| AbstractServerSession | back to summary |
|---|---|
| protected AbstractServerSession(ServerFactoryManager factoryManager, IoSession ioSession) | |
| checkKeys | back to summary |
|---|---|
| protected void checkKeys() Implements abstract org. Doc from org. Indicates the the key exchange is completed and the exchanged keys can now be verified - e.g., client can verify the server's key
| |
| getActiveSessionCountForUser | back to summary |
|---|---|
| public int getActiveSessionCountForUser(String userName) Implements org. Doc from org. Retrieve the current number of sessions active for a given username. | |
| getClientAddress | back to summary |
|---|---|
| public SocketAddress getClientAddress() Implements org.
| |
| getConnectionService | back to summary |
|---|---|
| protected ConnectionService getConnectionService() Implements abstract org.
| |
| getFactoryManager | back to summary |
|---|---|
| public ServerFactoryManager getFactoryManager() Overrides org. Implements org.
| |
| getGSSAuthenticator | back to summary |
|---|---|
| public GSSAuthenticator getGSSAuthenticator() Implements org. Doc from org. Retrieve the
| |
| getHostBasedAuthenticator | back to summary |
|---|---|
| public HostBasedAuthenticator getHostBasedAuthenticator() Implements org. Doc from org. Retrieve the
| |
| getHostKey | back to summary |
|---|---|
| public KeyPair getHostKey() Implements org.
| |
| getHostKeyCertificateProvider | back to summary |
|---|---|
| public HostKeyCertificateProvider getHostKeyCertificateProvider() Implements org.
| |
| getId | back to summary |
|---|---|
public long getId()
| |
| getKeyboardInteractiveAuthenticator | back to summary |
|---|---|
| public KeyboardInteractiveAuthenticator getKeyboardInteractiveAuthenticator() Implements org. Doc from org. Retrieve the
| |
| getKeyPairProvider | back to summary |
|---|---|
| public KeyPairProvider getKeyPairProvider() Implements org. Doc from org. Retrieve the
| |
| getPasswordAuthenticator | back to summary |
|---|---|
| public PasswordAuthenticator getPasswordAuthenticator() Implements org. Doc from org. Retrieve the
| |
| getPublickeyAuthenticator | back to summary |
|---|---|
| public PublickeyAuthenticator getPublickeyAuthenticator() Implements org. Doc from org. Retrieve the
| |
| getServerProxyAcceptor | back to summary |
|---|---|
| public ServerProxyAcceptor getServerProxyAcceptor() Implements org.
| |
| getUserAuthFactories | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieve the list of named factories for
| |
| handleServiceAccept | back to summary |
|---|---|
| protected void handleServiceAccept(String serviceName, Buffer buffer) throws Exception Overrides org.
| |
| handleServiceRequest | back to summary |
|---|---|
| protected boolean handleServiceRequest(String serviceName, Buffer buffer) throws Exception Overrides org.
| |
| readIdentification | back to summary |
|---|---|
| protected boolean readIdentification(Buffer buffer) throws Exception Implements abstract org. Doc from org. Read the other side identification. This method is specific to the client or server side, but both should call
| |
| receiveKexInit | back to summary |
|---|---|
| protected void receiveKexInit(Map<KexProposalOption, String> proposal, byte[] seed) throws IOException Implements abstract org.
| |
| resolveAvailableSignaturesProposal | back to summary |
|---|---|
| protected String resolveAvailableSignaturesProposal(FactoryManager proposedManager) throws IOException, GeneralSecurityException Implements abstract org. Doc from org. Computes the list of available host key signature algorithms supported.
| |
| resolveEmptySignaturesProposal | back to summary |
|---|---|
| protected String resolveEmptySignaturesProposal(Iterable<String> supported, Iterable<String> provided) Called by | |
| sendKexInit | back to summary |
|---|---|
| protected byte[] sendKexInit(Map<KexProposalOption, String> proposal) throws Exception Overrides org. Doc from org. Send the key exchange initialization packet. This packet contains random data along with our proposal.
| |
| sendServerIdentification | back to summary |
|---|---|
| protected IoWriteFuture sendServerIdentification(List<String> headerLines) throws Exception Sends the server identification + any extra header lines
| |
| setClientAddress | back to summary |
|---|---|
| public void setClientAddress(SocketAddress clientAddress) | |
| setGSSAuthenticator | back to summary |
|---|---|
| public void setGSSAuthenticator(GSSAuthenticator gssAuthenticator) Implements org.
| |
| setHostBasedAuthenticator | back to summary |
|---|---|
| public void setHostBasedAuthenticator(HostBasedAuthenticator hostBasedAuthenticator) Implements org.
| |
| setHostKeyCertificateProvider | back to summary |
|---|---|
| public void setHostKeyCertificateProvider(HostKeyCertificateProvider hostKeyCertificateProvider) Implements org.
| |
| setKexSeed | back to summary |
|---|---|
| protected void setKexSeed(byte... seed) Implements abstract org.
| |
| setKeyboardInteractiveAuthenticator | back to summary |
|---|---|
| public void setKeyboardInteractiveAuthenticator(KeyboardInteractiveAuthenticator interactiveAuthenticator) Implements org.
| |
| setKeyPairProvider | back to summary |
|---|---|
| public void setKeyPairProvider(KeyPairProvider keyPairProvider) Implements org.
| |
| setPasswordAuthenticator | back to summary |
|---|---|
| public void setPasswordAuthenticator(PasswordAuthenticator passwordAuthenticator) Implements org.
| |
| setPublickeyAuthenticator | back to summary |
|---|---|
| public void setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) Implements org.
| |
| setServerProxyAcceptor | back to summary |
|---|---|
| public void setServerProxyAcceptor(ServerProxyAcceptor proxyAcceptor) Implements org.
| |
| setUserAuthFactories | back to summary |
|---|---|
| public void setUserAuthFactories(List<UserAuthFactory> userAuthFactories) Implements org.
| |
| signalAuthenticationSuccess | back to summary |
|---|---|
| public IoWriteFuture signalAuthenticationSuccess(String username, String authService, Buffer buffer) throws Exception Implements org. Doc from org.
| |
| startService | back to summary |
|---|---|
| public void startService(String name, Buffer buffer) throws Exception Implements org.
| |