Class RMMethodSecurityPostProcessor
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
public class RMMethodSecurityPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Records management method security post processor.
Combines RM method security configuration with that of the core server before the security bean is instantiated.
- Author:
- Roy Wetherall
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToMap
(String stringValue) Convert the lines of a string to a map, separating keys from values by the first "=" sign.void
postProcessBeanFactory
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) void
setProperties
(Properties properties) void
setSecurityBeanNames
(Set<String> securityBeanNames) Set of security beans to apply RM configuration to.
-
Field Details
-
PROP_OBJECT_DEFINITION_SOURCE
- See Also:
-
PROPERTY_PREFIX
- See Also:
-
SECURITY_BEAN_POSTFIX
- See Also:
-
-
Constructor Details
-
RMMethodSecurityPostProcessor
public RMMethodSecurityPostProcessor()
-
-
Method Details
-
setSecurityBeanNames
Set of security beans to apply RM configuration to.Used in the case where the security bean does not follow the standard naming convention.
- Parameters:
securityBeanNames
- security bean names
-
setProperties
- Parameters:
properties
- configuration properties
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) - Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
- See Also:
-
BeanFactoryPostProcessor.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)
-
convertToMap
Convert the lines of a string to a map, separating keys from values by the first "=" sign.- Parameters:
stringValue
- The multi-line string.- Returns:
- The resulting map.
- Throws:
org.alfresco.error.AlfrescoRuntimeException
- If a non-blank line does not contain an "=" sign.
-