Configuration

Configuration keys for the Solar_Role_Adapter_Ldap class.

cache

  • (dependency) A Solar_Cache dependency injection. Default is to create a Solar_Cache_Adapter_Session object internal to this instance to retain the role list.

  • Default: array ( 'adapter' => 'Solar_Cache_Adapter_Session', 'prefix' => 'Solar_Role_Adapter', )

url

  • (string) URL to the LDAP server. Takes the format of "ldaps://example.com:389".

  • Default: null

basedn

  • (string) The base DN for the LDAP search; example: "o=my company,c=us".

  • Default: null

filter

  • (string) An sprintf() filter string for the LDAP search; %s represents the username. Example: "uid=%s".

  • Default: null

attrib

  • (string) Use these attributes to find role names.

  • Default: array ( 0 => 'ou', )

binddn

  • (string) Bind to the LDAP server as this distinguished name.

  • Default: null

bindpw

  • (string) Bind to the LDAP server as with this password.

  • Default: null



Local