Class CompositeTokenConfiguration
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.CompositeConfiguration<TokenConfiguration>
-
- org.apache.jackrabbit.oak.spi.security.authentication.token.CompositeTokenConfiguration
-
- All Implemented Interfaces:
TokenConfiguration
,SecurityConfiguration
public class CompositeTokenConfiguration extends CompositeConfiguration<TokenConfiguration> implements TokenConfiguration
TokenConfiguration
that combines different token provider implementations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.security.SecurityConfiguration
SecurityConfiguration.Default
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.oak.spi.security.CompositeConfiguration
PARAM_RANKING
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.token.TokenConfiguration
NAME
-
-
Constructor Summary
Constructors Constructor Description CompositeTokenConfiguration()
CompositeTokenConfiguration(@NotNull SecurityProvider securityProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TokenProvider
getTokenProvider(@NotNull Root root)
Returns a new instance ofTokenProvider
.-
Methods inherited from class org.apache.jackrabbit.oak.spi.security.CompositeConfiguration
addConfiguration, addConfiguration, getCommitHooks, getConfigurations, getConflictHandlers, getContext, getDefaultConfig, getMonitors, getName, getParameters, getProtectedItemImporters, getRepositoryInitializer, getValidators, getWorkspaceInitializer, removeConfiguration, setDefaultConfig, setRootProvider, setSecurityProvider, setTreeProvider
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.spi.security.SecurityConfiguration
getCommitHooks, getConflictHandlers, getContext, getMonitors, getName, getParameters, getProtectedItemImporters, getRepositoryInitializer, getValidators, getWorkspaceInitializer
-
-
-
-
Constructor Detail
-
CompositeTokenConfiguration
public CompositeTokenConfiguration()
-
CompositeTokenConfiguration
public CompositeTokenConfiguration(@NotNull @NotNull SecurityProvider securityProvider)
-
-
Method Detail
-
getTokenProvider
@NotNull public @NotNull TokenProvider getTokenProvider(@NotNull @NotNull Root root)
Description copied from interface:TokenConfiguration
Returns a new instance ofTokenProvider
.- Specified by:
getTokenProvider
in interfaceTokenConfiguration
- Parameters:
root
- The target root.- Returns:
- A new instance of
TokenProvider
.
-
-