AS7 Security Domain Model Changes

    This is a note for the developers of JBoss AS who want to add new things into the Security Domain Model.


    Subsystem:  security


    1. Ensure that you have taken care of the schema (security/src/main/resources/schema/jboss-security.xsd)

    In this file you define the model


    2. Parser is in SecuritySubsystemParser (security/src/main/java/org/jboss/as/security/

    Here you code the logic to parse the xml input and to write back to xml given the model


    3. Constants (security/src/main/java/org/jboss/as/security/

    Set of string constants that will be used in the model, like attribute names and elements that will be mapped in the model


    4. SecuritySubsystemAdd (security/src/main/java/org/jboss/as/security/

    Update that adds the security subsystem. Used to start basic security services


    5. SecurityDomainAdd (security/src/main/java/org/jboss/as/security/ and compensating operation SecurityDomainRemove (security/src/main/java/org/jboss/as/security/

    Update that adds a security domain definition. Compensating operation removes the security domain


    6. SecurityDomainOperations (security/src/main/java/org/jboss/as/security/

    Set of additional security domain operations


    7. SecuritySubsystemDescriptions (security/src/main/java/org/jboss/as/security/

    Descriptions os the model elements and attributes


    8. LocalDescriptions (security/src/main/resources/org/jboss/as/security/

    Bundle file for english descriptions


    9. SecurityExtension (security/src/main/java/org/jboss/as/security/

    The security subsytem extension where the parser is defined and where children and operations are defined