Package org.postgresql.jre7.sasl
Class ScramAuthenticator
- java.lang.Object
-
- org.postgresql.jre7.sasl.ScramAuthenticator
-
public class ScramAuthenticator extends Object
-
-
Constructor Summary
Constructors Constructor Description ScramAuthenticator(String user, String password, PGStream pgStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessServerFirstMessage(int length)voidprocessServerMechanismsAndInit()voidsendScramClientFirstMessage()voidverifyServerSignature(int length)
-
-
-
Method Detail
-
processServerMechanismsAndInit
public void processServerMechanismsAndInit() throws IOException, PSQLException- Throws:
IOExceptionPSQLException
-
sendScramClientFirstMessage
public void sendScramClientFirstMessage() throws IOException- Throws:
IOException
-
processServerFirstMessage
public void processServerFirstMessage(int length) throws IOException, PSQLException- Throws:
IOExceptionPSQLException
-
verifyServerSignature
public void verifyServerSignature(int length) throws IOException, PSQLException- Throws:
IOExceptionPSQLException
-
-