Skip to content

Commit

Permalink
fix incorrect name in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamb committed Apr 20, 2012
1 parent d31db19 commit 02e3e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -49,7 +49,7 @@ Once a user has logged in, you will have an object containing information about
## Usage in Connect/Express ## Usage in Connect/Express
node-cas-sfu exposes a getMiddleware function to provide Express middleware: node-cas-sfu exposes a getMiddleware function to provide Express middleware:


var cas = require('cas'); var cas = require('cas-sfu');
var casauth = cas.getMiddleware({ var casauth = cas.getMiddleware({
service: 'http://www.sfu.ca/myapp', service: 'http://www.sfu.ca/myapp',
allow: '!basket-weaving', allow: '!basket-weaving',
Expand Down Expand Up @@ -99,7 +99,7 @@ User logged in:
## Using non-SFU (aka Apache) accounts ## Using non-SFU (aka Apache) accounts
SFU's implementation of CAS allows users to authenticate with made-up, non-SFU accounts. These are often referred to as "Apache accounts" as they are most commonly used in Apache .htpasswd files via the [mod_auth_cas](http://www.sfu.ca/itservices/publishing/publish_howto/enhanced_web_publishing/cas/apache_module.html) Apache module. node-cas-sfu also supports Apache accounts; you can use them by setting `allow=apache` and including an `apacheUsers` object containing username & password hash pairs: SFU's implementation of CAS allows users to authenticate with made-up, non-SFU accounts. These are often referred to as "Apache accounts" as they are most commonly used in Apache .htpasswd files via the [mod_auth_cas](http://www.sfu.ca/itservices/publishing/publish_howto/enhanced_web_publishing/cas/apache_module.html) Apache module. node-cas-sfu also supports Apache accounts; you can use them by setting `allow=apache` and including an `apacheUsers` object containing username & password hash pairs:


var CAS = require('cas'); var CAS = require('cas-sfu');
var cas = new CAS({ var cas = new CAS({
service: 'http://www.sfu.ca/myapp', service: 'http://www.sfu.ca/myapp',
allow: 'apache', allow: 'apache',
Expand Down

0 comments on commit 02e3e94

Please sign in to comment.