You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.0 KiB
62 lines
2.0 KiB
//Auto-generated by kalyptus. DO NOT EDIT.
|
|
package org.kde.koala;
|
|
|
|
import org.kde.qt.Qt;
|
|
import org.kde.qt.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.
|
|
<em>SPECIAL NOTE:</em> 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 <adawit@kde.org>
|
|
|
|
@short A two way messaging class for passing authentication information.
|
|
|
|
*/
|
|
public class AuthInfo implements QtSupport {
|
|
private long _qt;
|
|
private boolean _allocatedInJavaWorld = true;
|
|
protected AuthInfo(Class dummy){}
|
|
|
|
/**
|
|
Default constructor.
|
|
@short Default constructor.
|
|
*/
|
|
public AuthInfo() {
|
|
newAuthInfo();
|
|
}
|
|
private native void newAuthInfo();
|
|
/**
|
|
Copy constructor.
|
|
@short Copy constructor.
|
|
*/
|
|
public AuthInfo(AuthInfo info) {
|
|
newAuthInfo(info);
|
|
}
|
|
private native void newAuthInfo(AuthInfo info);
|
|
/**
|
|
Use this method to check if the object was modified.
|
|
@return true if the object has been modified
|
|
|
|
@short Use this method to check if the object was modified.
|
|
*/
|
|
public native boolean isModified();
|
|
/**
|
|
Use this method to indicate that this object has been modified.
|
|
@param flag true to mark the object as modified, false to clear
|
|
@short Use this method to indicate that this object has been modified.
|
|
*/
|
|
public native void setModified(boolean flag);
|
|
}
|