You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Oliver Wulff (JIRA)" <ji...@apache.org> on 2014/02/24 22:11:24 UTC

[jira] [Commented] (FEDIZ-78) Provide a configurable mechanism to load the DB initially

    [ https://issues.apache.org/jira/browse/FEDIZ-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910818#comment-13910818 ] 

Oliver Wulff commented on FEDIZ-78:
-----------------------------------

persistenceContext.xml:
{code:xml}
    <bean id="dbLoader"
        class="org.apache.cxf.fediz.service.idp.service.jpa.DBLoaderSpring">
        <property name="resource" value="${db-load-config}" />
    </bean>
{code}

realm.properties:
{code}
db-load-config=entities-realma.xml
{code}

> Provide a configurable mechanism to load the DB initially
> ---------------------------------------------------------
>
>                 Key: FEDIZ-78
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-78
>             Project: CXF-Fediz
>          Issue Type: Improvement
>          Components: IDP
>    Affects Versions: 1.2.0
>            Reporter: Oliver Wulff
>            Assignee: Oliver Wulff
>             Fix For: 1.2.0
>
>
> The IDP database is loaded per default for the IDP 'realm-a'
> A mechanism should be provided to load the database based on a configuration file with examples for realm-a and realm-b.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)