Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.network
Class QAuthenticator

    java.lang.Object
      com.trolltech.qt.internal.QSignalEmitterInternal
          com.trolltech.qt.QSignalEmitter
              com.trolltech.qt.QtJambiObject
                  com.trolltech.qt.network.QAuthenticator

All Implemented Interfaces:
  QtJambiInterface, java.lang.Cloneable

    public class QAuthenticator

extends QtJambiObject
implements java.lang.Cloneable

The QAuthenticator class provides an authentication object. The QAuthenticator class is usually used in the `authenticationRequired()` and `proxyAuthenticationRequired()` signals of `QHttp` and `QAbstractSocket`. The class provides a way to pass back the required authentication information to the socket when accessing services that require authentication.

See also:
  QSslSocket.

Nested Class Summary

Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter
`QSignalEmitter.AbstractSignal, QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9`

Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
`com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal`

Field Summary

Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
`currentSender`

Constructor Summary
`QAuthenticator()` Constructs an empty authentication object
`QAuthenticator(QAuthenticator other)` Constructs a copy of `other`.

Method Summary
`QAuthenticator` | `clone()` This method is reimplemented for internal reasons
`boolean` | `isNull()` returns true if the authenticator is null.
`java.lang.String` | `password()` returns the password used for authentication.
`java.lang.String` | `realm()` returns the realm requiring authentication.
`void` | `setPassword(java.lang.String password)` Sets the `password` used for authentication.
`void` | `setUser(java.lang.String user)` Sets the `user` used for authentication.
`java.lang.String` | `user()` returns the user used for authentication.

Methods inherited from class com.trolltech.qt.QtJambiObject
`dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr`

Methods inherited from class com.trolltech.qt.QSignalEmitter
`blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread`

Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal
`__qt_signalInitialization`

Methods inherited from class java.lang.Object
`getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface com.trolltech.qt.QtJambiInterface
`disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership`

Constructor Detail

### QAuthenticator

    public QAuthenticator()

  Constructs an empty authentication object

### QAuthenticator

    public QAuthenticator(QAuthenticator other)

  Constructs a copy of `other`.

Method Detail

### isNull

    public final boolean isNull()

  returns true if the authenticator is null.

### password

    public final java.lang.String password()

  returns the password used for authentication.

See also:
  `setPassword()`.

### realm

    public final java.lang.String realm()

  returns the realm requiring authentication.

### setPassword

    public final void setPassword(java.lang.String password)

  Sets the `password` used for authentication.

See also:
  `password()`.

### setUser

    public final void setUser(java.lang.String user)

  Sets the `user` used for authentication.

See also:
  `user()`.

### user

    public final java.lang.String user()

  returns the user used for authentication.

See also:
  `setUser()`.

### clone

    public QAuthenticator clone()

  This method is reimplemented for internal reasons

  Overrides:
    `clone` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD