On 24/06/2021 06:25, Stefan Seelmann wrote:
On 6/24/21 4:10 AM, Shawn McKinney wrote:
The debugger tells me that api request controls are loaded in
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):
The debugger tells me that api request controls are loaded in
[StockCodecFactoryUtil](https://github.com/apache/directory-ldap-api/blob/master/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/StockCodecFactoryUtil.java)
So, I added my RelaxControl into the api code space, and
Onto the next problem…
As described back in April on this ML:
[Relax Control and password
policies](http://mail-archives.apache.org/mod_mbox/directory-api/202104.mbox/%3CECC48E64-6CF9-40B7-8BC4-FCE60E40684E%40apache.org%3E)
I added support to use the Relax Control to the fortress core code
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
>>