Package io.agroal.api.security
Interface AgroalSecurityProvider
-
- All Known Implementing Classes:
AgroalDefaultSecurityProvider,AgroalKerberosSecurityProvider
public interface AgroalSecurityProviderInterface to be implemented in order to extend Agroal with custom types of authentication.- Author:
- Luis Barreiro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PropertiesgetSecurityProperties(Object securityObject)Converts a custom principal / credential objects to properties to be passed to the JDBC driver.
-
-
-
Method Detail
-
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
Propertiesobject even if empty.
-
-