> On Jun 23, 2021, at 11:26 PM, Emmanuel Lécharny wrote:
>
>
> On 23/06/2021 17:32, Shawn McKinney wrote:
>> Next up on migration tasks, howto process password policy control returned
>> from the server.
>> The 1.x way
>>
On 23/06/2021 17:32, Shawn McKinney wrote:
Next up on migration tasks, howto process password policy control returned from
the server.
The 1.x way
[UserDAO](https://github.com/apache/directory-fortress-core/blob/master/src/main/java/org/apache/directory/fortress/core/impl/UserDAO.java):
Found a better test to follow.
[AbstractPasswordPolicyResponder](https://github.com/apache/directory-ldap-api/blob/master/ldap/client/api/src/main/java/org/apache/directory/ldap/client/template/AbstractPasswordPolicyResponder.java)
Processing response control like this:
```
protected
> On Jun 22, 2021, at 2:01 PM, Stefan Seelmann wrote:
>
> On 6/22/21 3:47 PM, Shawn McKinney wrote:
>> I switched from this://PoolableObjectFactory
>> poolFactory = new ValidatingPoolableLdapConnectionFactory( config );
>>
>> To:
>> PooledObjectFactory poolFactory = new
>>
On 6/22/21 3:47 PM, Shawn McKinney wrote:
> I switched from this://PoolableObjectFactory
> poolFactory = new ValidatingPoolableLdapConnectionFactory( config );
>
> To:
> PooledObjectFactory poolFactory = new
> ValidatingPoolableLdapConnectionFactory( config );
>
> But can’t use these:
Hello,
I am finally taking on the task of migrating the Fortress Core to use Apache
LDAP API!
So, I have found this:
https://directory.apache.org/api/migration-guide.html
Which did help me get started. Actually, the code compiles (in this branch):