Top Inners Fields Constructors Methods
org.postgresql.jre7.sasl

public Class ScramAuthenticator

extends Object
Class Inheritance
Static Imports
org.postgresql.util.internal.Nullness.castNonNull

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static interface

Field Summary

Modifier and TypeField and Description
private @Nullable ScramSession.ClientFinalProcessor
private static final Logger
private final String
private final PGStream
private @Nullable ScramClient
private @Nullable ScramSession
private final String

Constructor Summary

AccessConstructor and Description
public
ScramAuthenticator(String user, String password, PGStream pgStream)

Method Summary

Modifier and TypeMethod and Description
public void
public void
private void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clientFinalProcessorback to summary
private @Nullable ScramSession.ClientFinalProcessor clientFinalProcessor
LOGGERback to summary
private static final Logger LOGGER
passwordback to summary
private final String password
pgStreamback to summary
private final PGStream pgStream
scramClientback to summary
private @Nullable ScramClient scramClient
scramSessionback to summary
private @Nullable ScramSession scramSession
userback to summary
private final String user

Constructor Detail

ScramAuthenticatorback to summary
public ScramAuthenticator(String user, String password, PGStream pgStream)

Method Detail

processServerFirstMessageback to summary
public void processServerFirstMessage(int length) throws IOException, PSQLException
processServerMechanismsAndInitback to summary
public void processServerMechanismsAndInit() throws IOException, PSQLException
sendAuthenticationMessageback to summary
private void sendAuthenticationMessage(int bodyLength, ScramAuthenticator.BodySender bodySender) throws IOException
sendScramClientFirstMessageback to summary
public void sendScramClientFirstMessage() throws IOException
verifyServerSignatureback to summary
public void verifyServerSignature(int length) throws IOException, PSQLException
org.postgresql.jre7.sasl back to summary

private Interface ScramAuthenticator.BodySender


Method Summary

Modifier and TypeMethod and Description
public void
sendBody(PGStream pgStream)

Method Detail

sendBodyback to summary
public void sendBody(PGStream pgStream) throws IOException