Yes, you can. Instead of creating TaskRepositoryLocation, use
TaskRepositoryLocationUi (created by TaskRepositoryLocationUiFactory),
which implements dialog like this in its requestCredentials method.

-Peter

Thomas SZADEL wrote:
> Hi all!
>
> Is their a possibility to ask the user to enter his login/password if
> the authentification fails (or if he did't check the "Save Password" in
> the Repository settings) ?
>
> Thanks!