function LdapAuthorizationOtherAuthenticationTests::x_testCasAuthnWithLdapAuthor in Lightweight Directory Access Protocol (LDAP) 7
test cas user authentication with ldap authorization
File
- ldap_authorization/
tests/ Other/ Other.test, line 67
Class
Code
function x_testCasAuthnWithLdapAuthor() {
$this->ldapTestId = $this->module_name . ': drupal authentication';
$this->ldapTestId = 'AuthorizationIntegration';
$this->serversData = 'ldapauthor1.ldap_server.test_data.inc';
$this->authorizationData = 'Derivations.ldap_authorization.DeriveFromDN.inc';
$this->authenticationData = 'ldapauthor1.ldap_authentication.test_data.inc';
$this->consumerType = 'drupal_role';
$this
->prepTestData();
$this->ldapTestId = $this->module_name . ': test for integration with drupal authentication';
// create drupal user that has ldap entry mapping
// enable authorization but not authentication
// test user logon and authorizations
}