Class DefaultAttributesFetcher

java.lang.Object
io.micronaut.security.ojdbc.extensions.DefaultAttributesFetcher
All Implemented Interfaces:
AttributesFetcher

@Internal public class DefaultAttributesFetcher extends Object implements AttributesFetcher
Default AttributesFetcher implementation.
Since:
5.1.0
  • Field Details

  • Method Details

    • fetchAttributes

      public @Nullable Map<String, oracle.sql.json.OracleJsonObject> fetchAttributes(@NonNull Map<oracle.jdbc.spi.OracleResourceProvider.Parameter, CharSequence> parameters, @NonNull Authentication authentication)
      Description copied from interface: AttributesFetcher
      Resolves the END USER CONTEXT attributes to apply to the Oracle JDBC end user security context.
      Specified by:
      fetchAttributes in interface AttributesFetcher
      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