Class IdcsRoleMapperRxProvider.Builder<B extends IdcsRoleMapperRxProvider.Builder<B>>
- java.lang.Object
-
- io.helidon.security.providers.idcs.mapper.IdcsRoleMapperRxProviderBase.Builder<IdcsRoleMapperRxProvider.Builder<B>>
-
- io.helidon.security.providers.idcs.mapper.IdcsRoleMapperRxProvider.Builder<B>
-
- Type Parameters:
B- type of builder extending this builder
- All Implemented Interfaces:
Builder<IdcsRoleMapperRxProvider>,Supplier<IdcsRoleMapperRxProvider>
- Enclosing class:
- IdcsRoleMapperRxProvider
public static class IdcsRoleMapperRxProvider.Builder<B extends IdcsRoleMapperRxProvider.Builder<B>> extends IdcsRoleMapperRxProviderBase.Builder<IdcsRoleMapperRxProvider.Builder<B>> implements Builder<IdcsRoleMapperRxProvider>
Fluent API builder forIdcsRoleMapperRxProvider.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()Default contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdcsRoleMapperRxProviderbuild()Build the instance from this builder.Bconfig(Config config)Update this builder state from configuration.BroleCache(EvictableCache<String,List<Grant>> roleCache)Use explicitEvictableCachefor role caching.-
Methods inherited from class io.helidon.security.providers.idcs.mapper.IdcsRoleMapperRxProviderBase.Builder
addSubjectType, defaultIdcsSubjectType, oidcConfig, oidcConfig, subjectTypes
-
-
-
-
Method Detail
-
build
public IdcsRoleMapperRxProvider build()
Description copied from interface:BuilderBuild the instance from this builder.- Specified by:
buildin interfaceBuilder<B extends IdcsRoleMapperRxProvider.Builder<B>>- Returns:
- instance of the built type
-
config
public B config(Config config)
Update this builder state from configuration. Expects:- oidc-config to load an instance of
OidcConfig - cache-config (optional) to load an instance of
EvictableCachefor role caching
- Overrides:
configin classIdcsRoleMapperRxProviderBase.Builder<IdcsRoleMapperRxProvider.Builder<B extends IdcsRoleMapperRxProvider.Builder<B>>>- Parameters:
config- current node must have "oidc-config" as one of its children- Returns:
- updated builder instance
- oidc-config to load an instance of
-
roleCache
public B roleCache(EvictableCache<String,List<Grant>> roleCache)
Use explicitEvictableCachefor role caching.- Parameters:
roleCache- cache to use- Returns:
- update builder instance
-
-