Auth_Container_SOAP – Authenticate against a SOAP service

SOAP Container

This container makes use of the PEAR SOAP client to provide authentication against a SOAP service.

The storage-specific argument for the Auth constructor() is an array of options.

Available Options
Option Data Type Default value Description
"endpoint" string   The URI where the service is located.
"namespace" string   The namespace of the web service.
"method" string   The SOAP method you wish to call.
"encoding" string   The content encoding that should be used (e.g. UTF-8).
"usernamefield" string   The name of the field where the username is stored.
"passwordfield" string   The name of the field where the password is stored.
"matchpasswords" boolean TRUE

If TRUE then the container will look for the password field in the returned result from the soap call and try to match that value with the one supplied from the end user.

If FALSE then it is assumed that the soap call will return an error if the user does not authenticate properly. If no error is returned than the user is assumed to valid and allowed to proceed.

"_features" array  

A named array of extra parameters that are to be passed to the soap call in addition to the username and password fields. These are passed to the soap call as named parameters.

'field1'  => 'value1',
'foo'     => 'bar',
Authenticate a SAMBA smbpasswd file using File_SMBPasswd (Previous) Authenticate against a SOAP service (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.