legacy/jacorb/src/main/java/org/jboss/as/jacorb/JacORBSubsystemParser.java
private void writeSecurityConfig(XMLExtendedStreamWriter writer, ModelNode node) throws XMLStreamException {
        boolean writeSecurity = this.isWritable(node, JacORBSubsystemDefinitions.SECURITY_ATTRIBUTES);
        if (writeSecurity) {
            writer.writeEmptyElement(SECURITY);
            this.writeAttributes(writer, node, JacORBSubsystemDefinitions.SECURITY_ATTRIBUTES);
        }
    }
private void writeSecurityConfig(XMLExtendedStreamWriter writer, ModelNode node) throws XMLStreamException {
        boolean writeSecurity = this.isWritable(node, JacORBSubsystemDefinitions.SECURITY_ATTRIBUTES);
        if (writeSecurity) {
            writer.writeEmptyElement(SECURITY);
            this.writeAttributes(writer, node, JacORBSubsystemDefinitions.SECURITY_ATTRIBUTES);
        }
    }
private void writeSecurityConfig ( XMLExtendedStreamWriter writer , ModelNode node ) throws XMLStreamException { boolean writeSecurity = this . isWritable ( node , JacORBSubsystemDefinitions . SECURITY_ATTRIBUTES ) ; if ( writeSecurity ) { writer . writeEmptyElement ( SECURITY ) ; this . writeAttributes ( writer , node , JacORBSubsystemDefinitions . SECURITY_ATTRIBUTES ) ; } }
<p>
Writes the {@code security} section of the JacORB subsystem configuration using the contents of the provided
{@code ModelNode}.
</p>

@param writer the {@code XMLExtendedStreamWriter} used to write the configuration XML.
@param node   the {@code ModelNode} that contains the security configuration properties.
@throws XMLStreamException if an error occurs while writing the security configuration.
<p > Writes the { @code security } section of the JacORB subsystem configuration using the contents of the provided { @code ModelNode } . < / p >