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 Type
    Method
    Description
    @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.
  • 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 provider
      authentication - the current Micronaut Security authentication
      Returns:
      the attributes to apply, or null when no attributes should be applied