September 21, 2010
Plugins allow you to extend or modify default Wheels application behavior. To use, you just drop the zip file into your plugins directory and reload your application.
Read Using and Creating Plugins for more information.
Add helper function(s) to use with Microsoft's Active Directory
ActiveDirectory is a plugin for the CFWheels framework that adds the helper function(s) detailed below, allowing developers to interact with Microsoft Active Directory Services.
Authenticate domain, username and password against a Microsoft Windows Domain Controller via LDAP (Lightweight Directory Access Protocol).
A boolean value, with True indicating the user was successfully authenticated.
version 0.1 - Initial implementation/proof of concept.
version 0.2 - Added port parameter so developer can override default value when necessary. Added index.cfm (this document). Reduced potential overhead by using mixin=controller.
ActiveDirectoryAuthenticateUser (username, password, domain, start, server, [port] )
|username||(required) the user ID you want to authenticate.|
|password||(required) the password associated with the account you want to authenticate.|
|domain||(required) the Windows domain associated with the account you want to authenticate.|
|start||(required) where to start searching in Active Directory schema, e.g. dc=example,dc=com.|
|server||(required) Name of Active Directory domain controller with LDAP service|
|port||(optional) TCP port, defaults to 389|
ActiveDirectoryAuthenticateUser(Form.login, Form.password, Form.domain, "dc=example,dc=com", "dc1.example.com")
ActiveDirectoryAuthenticateUser(Form.login, Form.password, Form.domain, "dc=example,dc=com", "dc1.example.com", "3268")
Version 0.2—September 21, 2010 Download
- 0.1 Initial implementation. Proof of concept.
- 0.2 Initial public release. Added port parameter so developer can override default value when necessary. Added index.cfm (this document). Reduced potential overhead by using mixin=controller.</p>
- Wheels compatibility: 1.0.5.