Class OpenAuthenticationConfiguration
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.SecurityConfiguration.Default
-
- org.apache.jackrabbit.oak.spi.security.authentication.OpenAuthenticationConfiguration
-
- All Implemented Interfaces:
AuthenticationConfiguration
,SecurityConfiguration
public class OpenAuthenticationConfiguration extends SecurityConfiguration.Default implements AuthenticationConfiguration
This implementation of the authentication configuration provides login contexts that accept any credentials and doesn't validate specified workspace name. Retrieving aTokenProvider
is not supported.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.security.SecurityConfiguration
SecurityConfiguration.Default
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.AuthenticationConfiguration
DEFAULT_APP_NAME, NAME, PARAM_APP_NAME, PARAM_CONFIG_SPI_NAME
-
-
Constructor Summary
Constructors Constructor Description OpenAuthenticationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull LoginContextProvider
getLoginContextProvider(@NotNull ContentRepository contentRepository)
-
Methods inherited from class org.apache.jackrabbit.oak.spi.security.SecurityConfiguration.Default
getCommitHooks, getConflictHandlers, getContext, getName, getParameters, getProtectedItemImporters, getRepositoryInitializer, getValidators, getWorkspaceInitializer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
-
-
-
Method Detail
-
getLoginContextProvider
@NotNull public @NotNull LoginContextProvider getLoginContextProvider(@NotNull @NotNull ContentRepository contentRepository)
- Specified by:
getLoginContextProvider
in interfaceAuthenticationConfiguration
-
-