extending/modifying expiring password flow and LDAP properties

Scott Koranda skoranda at gmail.com
Thu May 18 15:12:38 EDT 2017


> > So I set in expiring-password-beans.xml
> > 
> >    <import resource="../../../../conf/authn/ldap-authn-config.xml" />
> 
> We don't really support importing things that already make up part of the system, that could have unintended side effects like duplicate copies of things.

Ok, I will not do the import.

Without it I naively do not see how beans defined as part of the
expiring-password-flow can be made aware of beans known to the
password-authn-flow since there is no parent/child context relationship.

So I think I will need to instantiate my own connection (pool) and use
it rather than re-using the existing pool.

> Your ultimately importing file probably doesn't have the standard bean in it:
> 
>     <bean class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer"
>         p:placeholderPrefix="%{" p:placeholderSuffix="}" />
> 

Ah. Got it. Thanks.

Scott K


More information about the dev mailing list