Hello All,

recently I have proposed the patch to reduce copy/paste while implementing
custom IAuthenticationStrategy.

Actually this interface have 2 methods which are not correlate to each other
String[] load();
void save(final String username, final String password);

in fact this is getter and setter but with different signatures
The change I would like to propose is to replace (in Wicket7)
void save(final String username, final String password);
with
void save(final String... credentials);

this will allow to easily store additional credentials (like domain) and
will not introduce the code break since previous calls will work as expected

What do you think?

-- 
WBR
Maxim aka solomax

Reply via email to