Class DefaultAttributesFetcher
java.lang.Object
io.micronaut.security.ojdbc.extensions.DefaultAttributesFetcher
- All Implemented Interfaces:
AttributesFetcher
Default
AttributesFetcher implementation.- Since:
- 5.1.0
-
Field Summary
Fields -
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.
-
Field Details
-
WITHIN
- See Also:
-
-
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:AttributesFetcherResolves the END USER CONTEXT attributes to apply to the Oracle JDBC end user security context.- Specified by:
fetchAttributesin interfaceAttributesFetcher- 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
-