43 *headerVal = str.
mid(6);
46 *headerVal = str.
mid(5);
49 *headerVal = str.
mid(7);
53bool KDSoapServerAuthInterface::handleHttpAuth(
const QByteArray &authValue,
const QString &path)
73 const int separatorPos = userPass.
indexOf(
':');
74 if (separatorPos == -1) {
83 qWarning(
"Unsupported authentication mechanism %s", authValue.
constData());
static void parseAuthLine(const QString &str, Method *method, QString *headerVal)
void setPassword(const QString &password)
void setUser(const QString &user)
KDSoapServerAuthInterface()
virtual bool validateAuthentication(const KDSoapAuthentication &auth, const QString &path)
virtual ~KDSoapServerAuthInterface()
const char * constData() const const
QByteArray fromBase64(const QByteArray &base64, QByteArray::Base64Options options)
int indexOf(char ch, int from) const const
bool isEmpty() const const
QByteArray left(int len) const const
QByteArray mid(int pos, int len) const const
QString fromLatin1(const char *str, int size)
QString fromUtf8(const char *str, int size)
QString mid(int position, int n) const const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const const
QByteArray toLatin1() const const