Interface AgroalSecurityProvider

All Known Implementing Classes:
AgroalDefaultSecurityProvider, AgroalKerberosSecurityProvider

public interface AgroalSecurityProvider
Interface to be implemented in order to extend Agroal with custom types of authentication.
Author:
Luis Barreiro
  • Method Summary

    Modifier and Type
    Method
    Description
    getSecurityProperties(Object securityObject)
    Converts a custom principal / credential objects to properties to be passed to the JDBC driver.
  • Method Details

    • getSecurityProperties

      Properties getSecurityProperties(Object securityObject)
      Converts a custom principal / credential objects to properties to be passed to the JDBC driver.
      Returns:
      null if not capable of handle the security object, otherwise return a Properties object even if empty.