Package org.adbcj.postgresql.codec.frontend

Examples of org.adbcj.postgresql.codec.frontend.SimpleFrontendMessage


    case MD5_PASSWORD:
      byte[] md5hash = PasswordHash.hashPasswordMD5(
          connectionManager.getUsername(),
          connectionManager.getPassword(),
          authenticationMessage.getData());
      SimpleFrontendMessage md5Message = new SimpleFrontendMessage(FrontendMessageType.PASSWORD, md5hash);
      connection.write(md5Message);
      break;
    default:
      throw new IllegalStateException("We currently do not support the authentication type of " + authenticationMessage.getAuthenticaitonType());
    }
View Full Code Here

TOP

Related Classes of org.adbcj.postgresql.codec.frontend.SimpleFrontendMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.