Stats
Version
0.2
Wheels Compatibility
1.0.5
Downloads
202
Last Updated
September 21, 2010
About Plugins
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.
Active Directory
Add helper function(s) to use with Microsoft's Active Directory
Author
Project Home
http://github.com/jchanticleer/Active-Directory-CFWheels-Plugin
Description
ActiveDirectory
Version 0.2
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.
ActiveDirectoryAuthenticateUser
Description
Authenticate domain, username and password against a Microsoft Windows Domain Controller via LDAP (Lightweight Directory Access Protocol).
Returns
A boolean value, with True indicating the user was successfully authenticated.
Dependencies
None.
History
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.
Function Syntax
ActiveDirectoryAuthenticateUser (username, password, domain, start, server, [port] )
Parameters
| Parameters | Description |
| 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 |
Usage/Examples
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")
Change Log
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.
