AzureIdentityPostgresqlAuthenticationPlugin Class

  • java.lang.Object
    • com.azure.identity.providers.postgresql.AzureIdentityPostgresqlAuthenticationPlugin

Implements

org.postgresql.plugin.AuthenticationPlugin

public class AzureIdentityPostgresqlAuthenticationPlugin
implements org.postgresql.plugin.AuthenticationPlugin

The authentication plugin that enables authentication with Azure AD.

Constructor Summary

Constructor Description
AzureIdentityPostgresqlAuthenticationPlugin(Properties properties)

Constructor with properties.

Method Summary

Modifier and Type Method and Description
char[] getPassword(AuthenticationRequestType art)

Get the password.

Methods inherited from java.lang.Object

Constructor Details

AzureIdentityPostgresqlAuthenticationPlugin

public AzureIdentityPostgresqlAuthenticationPlugin(Properties properties)

Constructor with properties.

Parameters:

properties - the properties.

Method Details

getPassword

public char[] getPassword(AuthenticationRequestType art)

Get the password.

Parameters:

art - the authentication request type.

Returns:

the password.

Throws:

org.postgresql.util.PSQLException - when an error occurs.

Applies to