public interface ContextInitializer
Context initializers can be used populate an specific IdentityContext
instance
with additional state.
Usually, this is useful when a specific IdentityStore
requires a specific resource or state
in order to perform an identity operation.
They can be provided at configuration time using the IdentityStoreConfigurationBuilder.addContextInitializer(ContextInitializer)
.
Modifier and Type | Method and Description |
---|---|
void |
initContextForStore(IdentityContext context,
IdentityStore<?> store)
This method is invoked once and right after the
IdentityContext is created. |
void initContextForStore(IdentityContext context, IdentityStore<?> store)
This method is invoked once and right after the IdentityContext
is created.
context
- store
- Copyright © 2018 JBoss by Red Hat. All rights reserved.