legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemParser.java
private void parseORBInitializersConfig(XMLExtendedStreamReader reader, ModelNode node) throws XMLStreamException {
        // parse the initializers config attributes.
        EnumSet<Attribute> attributes = EnumSet.of(Attribute.ORB_INIT_SECURITY, Attribute.ORB_INIT_TRANSACTIONS);
        this.parseAttributes(reader, node, attributes, null);
        // the initializers element doesn't have child elements.
        requireNoContent(reader);

        //if security="on" change it to security="identity"
        if(node.has(SECURITY) && node.get(SECURITY).asString().equals(JacORBSubsystemConstants.ON)) {
            node.get(SECURITY).set(SecurityAllowedValues.IDENTITY.toString());
        }
    }
private void parseORBInitializersConfig(XMLExtendedStreamReader reader, ModelNode node) throws XMLStreamException {
        // parse the initializers config attributes.
        EnumSet<Attribute> attributes = EnumSet.of(Attribute.ORB_INIT_SECURITY, Attribute.ORB_INIT_TRANSACTIONS);
        this.parseAttributes(reader, node, attributes, null);
        // the initializers element doesn't have child elements.
        requireNoContent(reader);

        //if security="on" change it to security="identity"
        if(node.has(SECURITY) && node.get(SECURITY).asString().equals(JacORBSubsystemConstants.ON)) {
            node.get(SECURITY).set(SecurityAllowedValues.IDENTITY.toString());
        }
    }
private void parseORBInitializersConfig ( XMLExtendedStreamReader reader , ModelNode node ) throws XMLStreamException { // parse the initializers config attributes. EnumSet < Attribute > attributes = EnumSet . of ( Attribute . ORB_INIT_SECURITY , Attribute . ORB_INIT_TRANSACTIONS ) ; this . parseAttributes ( reader , node , attributes , null ) ; // the initializers element doesn't have child elements. requireNoContent ( reader ) ; //if security="on" change it to security="identity" if ( node . has ( SECURITY ) && node . get ( SECURITY ) . asString ( ) . equals ( JacORBSubsystemConstants . ON ) ) { node . get ( SECURITY ) . set ( SecurityAllowedValues . IDENTITY . toString ( ) ) ; } }
<p>
Parses the ORB {@code initializers} section of the JacORB subsystem configuration according to the XSD version 1.1
or higher.
</p>

@param reader the {@code XMLExtendedStreamReader} used to read the configuration XML.
@param node   the {@code ModelNode} that will hold the parsed ORB initializers configuration.
@throws javax.xml.stream.XMLStreamException
if an error occurs while parsing the XML.
<p > Parses the ORB { @code initializers } section of the JacORB subsystem configuration according to the XSD version 1 . 1 or higher . < / p >