public class SecurityManagerConfig extends BeanConfig
This class is currently only used to assign a static type to more generic bean configuration information.
Constructor and Description |
---|
SecurityManagerConfig(BeanConfig config,
String workspaceName,
BeanConfig workspaceAccessConfig)
Creates an security manager configuration object from the
given bean configuration.
|
SecurityManagerConfig(BeanConfig config,
String workspaceName,
BeanConfig workspaceAccessConfig,
UserManagerConfig userManagerConfig,
BeanConfig uidClassConfig)
Creates an security manager configuration object from the
given bean configuration.
|
Modifier and Type | Method and Description |
---|---|
Class |
getUserIdClass() |
UserManagerConfig |
getUserManagerConfig() |
BeanConfig |
getWorkspaceAccessConfig() |
String |
getWorkspaceName()
Returns the name of the 'workspaceName' attribute or
null
if the SecurityManager does not require an extra workspace. |
getClassLoader, getClassName, getDefaultClassLoader, getParameters, newInstance, setClassLoader, setConnectionFactory, setDefaultClassLoader, setInstanceFactory, setValidate
public SecurityManagerConfig(BeanConfig config, String workspaceName, BeanConfig workspaceAccessConfig)
config
- bean configurationworkspaceName
- the security workspace nameworkspaceAccessConfig
- the configuration for the workspace access.public SecurityManagerConfig(BeanConfig config, String workspaceName, BeanConfig workspaceAccessConfig, UserManagerConfig userManagerConfig, BeanConfig uidClassConfig)
config
- bean configurationworkspaceName
- the security workspace nameworkspaceAccessConfig
- the configuration for the workspace access.userManagerConfig
- Configuration options for the user manager.public String getWorkspaceName()
null
if the SecurityManager does not require an extra workspace.public BeanConfig getWorkspaceAccessConfig()
WorkspaceAccessManager
.
May be null
if the configuration entry is missing (i.e.
the system default should be used).public UserManagerConfig getUserManagerConfig()
null
if the configuration entry is missing (i.e.
the system default should be used).public Class getUserIdClass()
JackrabbitSecurityManager.getUserID(javax.security.auth.Subject, String)
,
Subject.getPrincipals(Class)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.