Class RepositoryCallback
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.callback.RepositoryCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class RepositoryCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback implementation used to access the repository. It allows to set and get theContentRepository
and the name of the workspace for which the login applies. In addition it provides access to aSecurityProvider
associated with the content repository.
-
-
Constructor Summary
Constructors Constructor Description RepositoryCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable org.apache.jackrabbit.oak.api.ContentRepository
getContentRepository()
@Nullable LoginModuleMonitor
getLoginModuleMonitor()
@Nullable SecurityProvider
getSecurityProvider()
@Nullable java.lang.String
getWorkspaceName()
void
setContentRepository(org.apache.jackrabbit.oak.api.ContentRepository contentRepository)
void
setLoginModuleMonitor(LoginModuleMonitor loginModuleMonitor)
void
setSecurityProvider(SecurityProvider securityProvider)
void
setWorkspaceName(java.lang.String workspaceName)
-
-
-
Method Detail
-
getWorkspaceName
@Nullable public @Nullable java.lang.String getWorkspaceName()
-
setWorkspaceName
public void setWorkspaceName(java.lang.String workspaceName)
-
getContentRepository
@Nullable public @Nullable org.apache.jackrabbit.oak.api.ContentRepository getContentRepository()
-
setContentRepository
public void setContentRepository(org.apache.jackrabbit.oak.api.ContentRepository contentRepository)
-
getSecurityProvider
@Nullable public @Nullable SecurityProvider getSecurityProvider()
-
setSecurityProvider
public void setSecurityProvider(SecurityProvider securityProvider)
-
getLoginModuleMonitor
@Nullable public @Nullable LoginModuleMonitor getLoginModuleMonitor()
-
setLoginModuleMonitor
public void setLoginModuleMonitor(LoginModuleMonitor loginModuleMonitor)
-
-