public class TokenConfigurationImpl extends ConfigurationBase implements TokenConfiguration
TokenConfiguration
interface.SecurityConfiguration.Default
NAME
Constructor and Description |
---|
TokenConfigurationImpl() |
TokenConfigurationImpl(@NotNull SecurityProvider securityProvider) |
Modifier and Type | Method and Description |
---|---|
void |
bindCredentialsSupport(CredentialsSupport credentialsSupport) |
@NotNull Context |
getContext() |
@NotNull java.lang.String |
getName()
Returns the name of this security configuration.
|
@NotNull TokenProvider |
getTokenProvider(@NotNull Root root)
Returns a new instance of
TokenProvider . |
@NotNull java.util.List<? extends ValidatorProvider> |
getValidators(@NotNull java.lang.String workspaceName,
@NotNull java.util.Set<java.security.Principal> principals,
@NotNull MoveTracker moveTracker)
Returns the list of validators that need to be executed for the specified
workspace name.
|
void |
unbindCredentialsSupport(CredentialsSupport credentialsSupport) |
getParameters, getRootProvider, getSecurityProvider, getTreeProvider, setParameters, setRootProvider, setSecurityProvider, setTreeProvider
getCommitHooks, getConflictHandlers, getProtectedItemImporters, getRepositoryInitializer, getWorkspaceInitializer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommitHooks, getConflictHandlers, getMonitors, getParameters, getProtectedItemImporters, getRepositoryInitializer, getWorkspaceInitializer
public TokenConfigurationImpl()
public TokenConfigurationImpl(@NotNull @NotNull SecurityProvider securityProvider)
public void bindCredentialsSupport(CredentialsSupport credentialsSupport)
public void unbindCredentialsSupport(CredentialsSupport credentialsSupport)
@NotNull public @NotNull java.lang.String getName()
SecurityConfiguration
getName
in interface SecurityConfiguration
getName
in class SecurityConfiguration.Default
@NotNull public @NotNull java.util.List<? extends ValidatorProvider> getValidators(@NotNull @NotNull java.lang.String workspaceName, @NotNull @NotNull java.util.Set<java.security.Principal> principals, @NotNull @NotNull MoveTracker moveTracker)
SecurityConfiguration
getValidators
in interface SecurityConfiguration
getValidators
in class SecurityConfiguration.Default
workspaceName
- The name of the workspace.principals
- The set of principals associated with the subject
that is committing modifications.moveTracker
- The move tracker associated with the commit.@NotNull public @NotNull Context getContext()
getContext
in interface SecurityConfiguration
getContext
in class SecurityConfiguration.Default
@NotNull public @NotNull TokenProvider getTokenProvider(@NotNull @NotNull Root root)
TokenProvider
.getTokenProvider
in interface TokenConfiguration
root
- The target root.TokenProvider
.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.