Interface AttributesFetcher
- All Known Implementing Classes:
DefaultAttributesFetcher
@Internal
public interface AttributesFetcher
Resolves Oracle Database END USER CONTEXT attributes for the current
Micronaut Security authentication.
- Since:
- 5.1.0
-
Method Summary
Modifier and TypeMethodDescriptionfetchAttributes(@NonNull Map<oracle.jdbc.spi.OracleResourceProvider.Parameter, CharSequence> parameters, @NonNull Authentication authentication) Resolves the END USER CONTEXT attributes to apply to the Oracle JDBC end user security context.
-
Method Details
-
fetchAttributes
@Nullable Map<String, oracle.sql.json.OracleJsonObject> fetchAttributes(@NonNull Map<oracle.jdbc.spi.OracleResourceProvider.Parameter, CharSequence> parameters, @NonNull Authentication authentication) Resolves the END USER CONTEXT attributes to apply to the Oracle JDBC end user security context.- Parameters:
parameters- parameters supplied to the OJDBC resource providerauthentication- the current Micronaut Security authentication- Returns:
- the attributes to apply, or
nullwhen no attributes should be applied
-