Conexão com Postgree (JDBC)

Olá galerinha tudo bem???
Estou fazendo uma simples conexão com o Postgree e vejam que erro que da.

"The authentication type 5 is not supported. Check that you have configured the pg_hba.conf file to include the clients IP address or Subnet, and that it is using an authentication scheme supported by the driver. "

Erro no codigo java acho que não é, tenho quase certeza que é no postgree, como não mexo muito tempo com esta ferramenta será que alguém pode me ajudar???

[quote=Michelle Vaz]Check that you have configured the pg_hba.conf file to include the clients IP address or Subnet, and that it is using an authentication scheme supported by the driver. "
[/quote]

Seu diagnóstico é perfeito. Não é coisa no seu código Java. Leia a mensagem de erro e edite o arquivo de configuração do PostgreSQL, para que ele aceite conexões via sockets e de outros hosts. (Por default ele não aceita conexões via TCP Sockets, nem fora do “localhost”).

Nossa muito obrigada mesmo thingol mas… Como edito este arquivo de configuração do Postgree???

Vá na pasta conf do PostgreSQL e edite o arquivo pg_hba.conf, adicione uma nova linha com seu IP no modelo das que já estão lá.