Package org.postgresql.jre7.sasl
Class ScramAuthenticator
java.lang.Object
org.postgresql.jre7.sasl.ScramAuthenticator
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
processServerFirstMessage
(int length) void
private void
sendAuthenticationMessage
(int bodyLength, ScramAuthenticator.BodySender bodySender) void
void
verifyServerSignature
(int length)
-
Field Details
-
LOGGER
-
user
-
password
-
pgStream
-
scramClient
private com.ongres.scram.client.ScramClient scramClient -
scramSession
private com.ongres.scram.client.ScramSession scramSession -
clientFinalProcessor
private com.ongres.scram.client.ScramSession.ClientFinalProcessor clientFinalProcessor
-
-
Constructor Details
-
ScramAuthenticator
-
-
Method Details
-
sendAuthenticationMessage
private void sendAuthenticationMessage(int bodyLength, ScramAuthenticator.BodySender bodySender) throws IOException - Throws:
IOException
-
processServerMechanismsAndInit
- Throws:
IOException
PSQLException
-
sendScramClientFirstMessage
- Throws:
IOException
-
processServerFirstMessage
- Throws:
IOException
PSQLException
-
verifyServerSignature
- Throws:
IOException
PSQLException
-