<!-- 
    ========================================================================
    * Copyright (c) 2009 Civic Computing Ltd.
    * All rights reserved.
    *
    * This file is part of Content Control.
    *
    * Content Control is free software: you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation, either version 3 of the License, or
    * (at your option) any later version.
    *
    * Content Control is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with Content Control.  If not, see http://www.gnu.org/licenses/.
    *
    * Revision      $Rev: 2318 $
    * Modified by   $Author: keith $
    * Modified on   $Date: 2009-12-17 09:59:11 +0000 (Thu, 17 Dec 2009) $
    *
    * Changes: See Subversion log.
    ========================================================================
-->

<server>
    <mbean code="org.jboss.security.auth.login.DynamicLoginConfig"
        name="ccc:service=smcLoginConfig">
        <attribute name="AuthConfig">auth-config.xml</attribute>
        <!-- The service which supports dynamic processing of login-config.xml
            configurations.
        -->
        <depends optional-attribute-name="LoginConfigService">
            jboss.security:service=XMLLoginConfig
        </depends>
        <!-- Optionally specify the security mgr service to use when
            this service is stopped to flush the auth caches of the domains
            registered by this service.
        -->
        <depends optional-attribute-name="SecurityManagerService">
            jboss.security:service=JaasSecurityManager
        </depends>
    </mbean>
</server>

