Interface DataRolesFetcher
- All Known Implementing Classes:
DefaultDataRolesFetcher
@Internal
public interface DataRolesFetcher
Resolves Oracle Database data roles for the current Micronaut Security authentication.
- Since:
- 5.1.0
-
Method Summary
Modifier and TypeMethodDescription@Nullable Collection<String> fetchDataRoles(@NonNull Map<oracle.jdbc.spi.OracleResourceProvider.Parameter, CharSequence> parameters, @NonNull Authentication authentication) Resolves the Oracle Database data roles to apply to the end user security context.
-
Method Details
-
fetchDataRoles
@Nullable Collection<String> fetchDataRoles(@NonNull Map<oracle.jdbc.spi.OracleResourceProvider.Parameter, CharSequence> parameters, @NonNull Authentication authentication) Resolves the Oracle Database data roles to apply to the end user security context.- Parameters:
parameters- parameters supplied to the OJDBC resource providerauthentication- the current Micronaut Security authentication- Returns:
- the data roles to apply, or
nullwhen no data roles should be applied - Since:
- 5.1.0
-