Class AzureIdentityPostgresqlAuthenticationPlugin
java.lang.Object
com.azure.identity.providers.postgresql.AzureIdentityPostgresqlAuthenticationPlugin
- All Implemented Interfaces:
org.postgresql.plugin.AuthenticationPlugin
public class AzureIdentityPostgresqlAuthenticationPlugin
extends Object
implements org.postgresql.plugin.AuthenticationPlugin
The authentication plugin that enables authentication with Azure AD.
-
Constructor Summary
ConstructorDescriptionConstructor with properties. -
Method Summary
Modifier and TypeMethodDescriptionchar[]
getPassword
(org.postgresql.plugin.AuthenticationRequestType art) Get the password.
-
Constructor Details
-
AzureIdentityPostgresqlAuthenticationPlugin
Constructor with properties.- Parameters:
properties
- the properties.
-
-
Method Details
-
getPassword
public char[] getPassword(org.postgresql.plugin.AuthenticationRequestType art) throws org.postgresql.util.PSQLException Get the password.- Specified by:
getPassword
in interfaceorg.postgresql.plugin.AuthenticationPlugin
- Parameters:
art
- the authentication request type.- Returns:
- the password.
- Throws:
org.postgresql.util.PSQLException
- when an error occurs.
-