how to initialize spring bean from database
- by wavelet
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 ?