sfRADIUSAuthPlugin - 0.2.3
provides means to authenticate against a RADIUS server
You are currently browsing
the website for symfony 1
This plugin allows to use sfGuard protected sites with a RADIUS servers, offloading password checking to RADIUS.
Provides means to authenticate sfGuard Users against a RADIUS server. This plugins is uses the PEAR Auth_RADIUS and Crypt_CHAP packages, which are bundled for convenient use. An installation of PECL ext/radius and either sfGuard or sfDoctrineGuard are mandatory.
|Daniel Reiche||lead||hc.xmg <<ta>> ehcier.d|
December 20, 2010
This Software was written by Daniel Reiche <email@example.com>.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The sfRADIUSAuthPlugin allows you to use a RADIUS server to authenticate sfGuard users in symfony projects. This package uses bundeled versions of the PEAR Auth_RADIUS and Crypt_CHAP libraries. PEAR is required nevertheless!
optionally: PEAR, Auth_RADIUS and Crypt_CHAP
The second step is not mandatory, as a version of these libs is bundled with the plugin. However the plugin should use the PEAR versions in the future, if PEAR is available
install either sfGuardPlugin or sfDoctrineGuardPlugin. One of them is required, but both are supported, therefor they can not be defined as required in the package.xml or symfony would try to install both.
install the plugin (use the --stability=beta option, since the plugin is not yet mature, but works for me in production):
symfony plugin:install sfRADIUSAuthPlugin --stability=beta
copy the plugins app.yml and fill in your values (or use per-app or per-environment settings...)
all: sfRADIUSAuth: #wether to enable the plugin or not. enabled: true # the password authtype the server uses: one of # MSCHAPv2 # MSCHAPv1 # PAP (not encrypted!!!) # CHAP_MD5 auth_type: MSCHAPv2 #use a server qeue or pick a random server on each request server_qeue: true servers: #name of the server, does not matter, just for readability Primary: # ip or dns-name of the server to use ip: radius.yourdomain.com # ports to use for authentication (accounting is not available atm!) ports: auth: 1234 acc: 1235 # shared secret to use when communicating with the radius server secret: SomeSharedSecretYourRadiusAdminGaveYou #Secondary server: #ip: 127.0.0.1 #ports: #auth: 1812 #secret: changeme