com.smartwerkz.jupload.classic.net.auth
Interface AuthProvider

All Known Implementing Classes:
HttpAuthPanel, LoginPanel, ProxyAuthPanel, UserAuthPanel

public interface AuthProvider

Since:
18-Jul-2006, 5:07:04 AM
Author:
Dominik Seifert

Method Summary
 AuthInfo getAuthInfo()
           
 boolean provide(AuthInfo info, boolean failed)
          The user should provide the given AuthInfo with corresponding information.
 void setAuthInfo(AuthInfo auth)
          Take the supplied AuthInfo as given.
 

Method Detail

provide

boolean provide(AuthInfo info,
                boolean failed)
The user should provide the given AuthInfo with corresponding information.

Parameters:
failed - Indicates wether the last authentication-attempt failed.
Returns:
true if the user accepted or false in case that he cancelled

setAuthInfo

void setAuthInfo(AuthInfo auth)
Take the supplied AuthInfo as given.


getAuthInfo

AuthInfo getAuthInfo()
Returns:
The currently provided information


Copyright © 2007 smartwerkz.com. All Rights Reserved.