@NoExtend public class MuleSecurityManagerConfigurator extends AbstractComponentFactory<SecurityManager>
ObjectFactory
for a security manager configuration element.
In case the security manager has no name or the name is the same as the default one provided by the MuleContext
then
the configured values will be added only to the security manager, otherwise a new security manager will be registered under the
provided name but the addition of providers will be done to both, the new security manager and the default one.
LOCATION_KEY, ROOT_CONTAINER_NAME_KEY
ANNOTATIONS_PROPERTY_NAME
Constructor and Description |
---|
MuleSecurityManagerConfigurator() |
Modifier and Type | Method and Description |
---|---|
SecurityManager |
doGetObject()
Method to be implemented instead of
ObjectFactory.getObject() . |
void |
setEncryptionStrategies(List<EncryptionStrategy> encryptionStrategies) |
void |
setMuleContext(MuleContext muleContext) |
void |
setName(String name) |
void |
setProviders(List<SecurityProvider> providers) |
getObject
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotations
public void setName(String name)
@Inject public void setMuleContext(MuleContext muleContext)
public void setProviders(List<SecurityProvider> providers)
public void setEncryptionStrategies(List<EncryptionStrategy> encryptionStrategies)
public SecurityManager doGetObject() throws Exception
AbstractComponentFactory
ObjectFactory.getObject()
.doGetObject
in class AbstractComponentFactory<SecurityManager>
Exception
- if any failure occurs building the objectCopyright © 2018. All rights reserved.