org.kde.koala
Class AuthInfo
public
class
AuthInfo
extends Object
implements QtSupport
This class is intended to make it easier to prompt for, cache
and retrieve authorization information.
When using this class to cache, retrieve or prompt authentication
information, you only need to set the necessary attributes. For
example, to check whether a password is already cached, the only
required information is the URL of the resource and optionally
whether or not a path match should be performed. Similarly, to
prompt for password you only need to optionally set the prompt,
username (if already supplied), comment and commentLabel fields.
SPECIAL NOTE: If you extend this class to add additional
parameters do not forget to overload the stream insertion and
extraction operators ("<<" and ">>") so that the added data can
be correctly serialzed.
Author: Dawit Alemayehu
UNKNOWN: A two way messaging class for passing authentication information.
Method Summary |
boolean | isModified()
Use this method to check if the object was modified. |
void | setModified(boolean flag)
Use this method to indicate that this object has been modified. |
protected AuthInfo(Class dummy)
public AuthInfo()
Default constructor.
UNKNOWN: Default constructor.
Copy constructor.
UNKNOWN: Copy constructor.
public boolean isModified()
Use this method to check if the object was modified.
Returns: true if the object has been modified
UNKNOWN: Use this method to check if the object was modified.
public void setModified(boolean flag)
Use this method to indicate that this object has been modified.
Parameters: flag true to mark the object as modified, false to clear
UNKNOWN: Use this method to indicate that this object has been modified.