Package org.postgresql.jre7.sasl
Class ScramAuthenticator
- java.lang.Object
-
- org.postgresql.jre7.sasl.ScramAuthenticator
-
public class ScramAuthenticator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScramAuthenticator(java.lang.String user, java.lang.String password, PGStream pgStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processServerFirstMessage(int length)
void
processServerMechanismsAndInit()
void
sendScramClientFirstMessage()
void
verifyServerSignature(int length)
-
-
-
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
-
-