org.mule.module.spring.security.config
Class SecurityManagerDefinitionParser

java.lang.Object
  extended by org.mule.module.spring.security.config.SecurityManagerDefinitionParser
All Implemented Interfaces:
org.springframework.beans.factory.xml.BeanDefinitionParser

public class SecurityManagerDefinitionParser
extends Object
implements org.springframework.beans.factory.xml.BeanDefinitionParser

This security manager delegates its parsing into two different definition parsers based on the name of the element. If the name of the element matches "_muleSecurityManager", then the parser will invoke ParentDefinitionParser which in turn will modify the existing _muleSecurityManager bean instead of creating a new one. Now if the name is something different, then this parser will invoke the OrphanDefinitionParser which instead of modifying an existing bean it will create a new one altogether.


Constructor Summary
SecurityManagerDefinitionParser()
           
 
Method Summary
 org.springframework.beans.factory.config.BeanDefinition parse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityManagerDefinitionParser

public SecurityManagerDefinitionParser()
Method Detail

parse

public org.springframework.beans.factory.config.BeanDefinition parse(Element element,
                                                                     org.springframework.beans.factory.xml.ParserContext parserContext)
Specified by:
parse in interface org.springframework.beans.factory.xml.BeanDefinitionParser


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.