Class ScramAuthenticator


  • public class ScramAuthenticator
    extends java.lang.Object
    • Constructor Detail

      • ScramAuthenticator

        public ScramAuthenticator​(java.lang.String user,
                                  java.lang.String password,
                                  PGStream pgStream)
    • Method Detail

      • processServerMechanismsAndInit

        public void processServerMechanismsAndInit()
                                            throws java.io.IOException,
                                                   PSQLException
        Throws:
        java.io.IOException
        PSQLException
      • sendScramClientFirstMessage

        public void sendScramClientFirstMessage()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • processServerFirstMessage

        public void processServerFirstMessage​(int length)
                                       throws java.io.IOException,
                                              PSQLException
        Throws:
        java.io.IOException
        PSQLException
      • verifyServerSignature

        public void verifyServerSignature​(int length)
                                   throws java.io.IOException,
                                          PSQLException
        Throws:
        java.io.IOException
        PSQLException