Hi Bruno,
we had overloaded methods as of yesterday.
https://github.com/picketlink/picketlink/blob/master/idm/api/src/main/jav...
---------
void updateCredential(Agent agent, Object value);
void updateCredential(Agent agent, Object value, Date effectiveDate,
Date expiryDate);
---------
Majority of the developers will choose the first method and advanced
developers will choose the second.
Regards,
Anil
On 01/10/2013 05:12 AM, Bruno Oliveira wrote:
Hi Anil, so if I don't want password expiration my method call
would
look like this?
handler.update(agent, credential, this, null, null)
Why not overloading methods for it?
--
"The measure of a man is what he does with power" - Plato
-
@abstractj
-
Volenti Nihil Difficile
On Thursday, January 10, 2013 at 4:17 AM, Anil Saldhana wrote:
> Shane/Pedro,
> I changed the Password Expiration to a null date for the api when the
> developer wants infinite expiry passwords. One IDM test was choking.
> For now, I have set the password expiry to 1500 years if the developer
> wants infinite expiring passwords.
>
> Can you guys take a look? We need better handling when password expiry
> holds a null date.
>
> Regards,
> Anil