Package io.agroal.api.security
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 TypeMethodDescriptiongetSecurityProperties(Object securityObject) Converts a custom principal / credential objects to properties to be passed to the JDBC driver.
-
Method Details
-
getSecurityProperties
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
Propertiesobject even if empty.
-