Class SecurityManagerConfig
- java.lang.Object
-
- org.apache.jackrabbit.core.config.BeanConfig
-
- org.apache.jackrabbit.core.config.SecurityManagerConfig
-
public class SecurityManagerConfig extends BeanConfig
Security manager configuration. This bean configuration class is used to create configured security manager objects.This class is currently only used to assign a static type to more generic bean configuration information.
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getUserIdClass()
UserManagerConfig
getUserManagerConfig()
BeanConfig
getWorkspaceAccessConfig()
String
getWorkspaceName()
Returns the name of the 'workspaceName' attribute ornull
if the SecurityManager does not require an extra workspace.-
Methods inherited from class org.apache.jackrabbit.core.config.BeanConfig
getClassLoader, getClassName, getDefaultClassLoader, getParameters, newInstance, setClassLoader, setConnectionFactory, setDefaultClassLoader, setInstanceFactory, setValidate
-
-
-
-
Constructor Detail
-
SecurityManagerConfig
public SecurityManagerConfig(BeanConfig config, String workspaceName, BeanConfig workspaceAccessConfig)
Creates an security manager configuration object from the given bean configuration.- Parameters:
config
- bean configurationworkspaceName
- the security workspace nameworkspaceAccessConfig
- the configuration for the workspace access.
-
SecurityManagerConfig
public SecurityManagerConfig(BeanConfig config, String workspaceName, BeanConfig workspaceAccessConfig, UserManagerConfig userManagerConfig, BeanConfig uidClassConfig)
Creates an security manager configuration object from the given bean configuration.- Parameters:
config
- bean configurationworkspaceName
- the security workspace nameworkspaceAccessConfig
- the configuration for the workspace access.userManagerConfig
- Configuration options for the user manager.
-
-
Method Detail
-
getWorkspaceName
public String getWorkspaceName()
Returns the name of the 'workspaceName' attribute ornull
if the SecurityManager does not require an extra workspace.- Returns:
-
getWorkspaceAccessConfig
public BeanConfig getWorkspaceAccessConfig()
- Returns:
- the configuration for the
WorkspaceAccessManager
. May benull
if the configuration entry is missing (i.e. the system default should be used).
-
getUserManagerConfig
public UserManagerConfig getUserManagerConfig()
- Returns:
- the configuration for the user manager.
May be
null
if the configuration entry is missing (i.e. the system default should be used).
-
getUserIdClass
public Class getUserIdClass()
- Returns:
- Class which is used to retrieve the UserID from the Subject.
- See Also:
JackrabbitSecurityManager.getUserID(javax.security.auth.Subject, String)
,Subject.getPrincipals(Class)
-
-