All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.valkyriercp.sample.simple.context.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:security="http://www.springframework.org/schema/security"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security.xsd">

    <import resource="classpath:/org/valkyriercp/application/valkyrie-base.xml"/>

    <bean class="org.valkyriercp.sample.simple.SimpleSampleApplicationConfig"/>

    <security:authentication-manager>
        <security:authentication-provider>
            <security:user-service>
                <security:user name="admin" password="admin" authorities="ADMIN"/>
                <security:user name="user" password="user" authorities="USER"/>
            </security:user-service>
        </security:authentication-provider>
    </security:authentication-manager>

</beans>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy