how to initialize spring bean from database

Posted by wavelet on Stack Overflow See other posts from Stack Overflow or by wavelet
Published on 2010-05-28T03:21:29Z Indexed on 2010/05/28 3:31 UTC
Read the original article Hit count: 272

Filed under:
|
|
|

hi,i use spring security and my config is in database:

<sec:http auto-config="true" entry-point-ref="casProcessingFilterEntryPoint">
        <sec:remember-me />
        <sec:session-management>
            <sec:concurrency-control max-sessions="1"
                error-if-maximum-exceeded="true" />
        </sec:session-management>
        <sec:logout logout-success-url="${host.url}/logout/" />
        <sec:custom-filter ref="casAuthenticationFilter"
            after="CAS_FILTER" />
        <sec:custom-filter ref="filterInvocationInterceptor"
            before="FILTER_SECURITY_INTERCEPTOR" />
    </sec:http>

like ${host.url} is in database

how can i initialize ?

© Stack Overflow or respective owner

Related posts about spring

Related posts about property