hapi-cas
Version:
An authorization plugin for Hapi that implements JASIG CAS authentication.
74 lines (56 loc) • 2.58 kB
Markdown
### 0.8.1
+ See [https://github.com/jsumners/hapi-cas/releases](https://github.com/jsumners/hapi-cas/releases) from here on for the changelog
### 0.8.0
+ Update dependencies.
+ Fix not being redirected when validating tickets on a new session.
### 0.7.0
+ Update dependencies.
+ [breaking] Set the session `username` attribute to all lower case.
### 0.6.0
+ Update dependencies.
+ Migrate documentation to api.md document.
+ Convert code to standardjs.com style.
+ Switch to using [abstract-logging][al] instead of `debug`.
[al]: https://npm.im/abstract-logging
### 0.5.2
+ Actually update package.json with a version bump.
### 0.5.1
+ Update dependencies
+ Add check for `response.header` function when attempting to retain headers.
For some unknown reason, the response object doesn't always have this method.
### 0.5.0
+ Hapi [version 15.0.1][hapi1501] made `server.register` a definitively
asynchronous method. As a result, the test application for `hapi-cas` was
failing and the documentation for usage was incorrect. This version updates
the documentation to show a cheap way of avoiding [issue #6][i6].
While this isn't really an issue with `hapi-cas`, it is annoying enough that
we are bumping the release version so that you know a radical change has
occurred.
[hapi1501]: https://github.com/hapijs/discuss/issues/349
[i6]: https://github.com/jsumners/hapi-cas/issues/6
### 0.4.0
+ Fixes an issue where the result was being sent to the client instead
of to the server via a redirect. See [pull request 5][pr5]. Thank you
to @mpmeyer for the fix.
+ Add a `saveRawCAS` option (default: `false`). When enabled, the parsed-to-js
result from the remote CAS server will be added to the session as `rawCas`.
Under normal operation, anything in the CAS response that does not conform
to the specification is discarded. With `saveRawCAS` enabled you can deal with
such data as you see fit. See [issue 1][i1] and [pull request 4][pr4].
Thank you to @mpmeyer for the feature.
[pr5]: https://github.com/jsumners/hapi-cas/pull/5
[i1]: https://github.com/jsumners/hapi-cas/issues/1
[pr4]: https://github.com/jsumners/hapi-cas/pull/4
### 0.3.0
+ Update dependencies
+ Fix bug where the result was not being written to the response
### 0.2.1
+ Update dependencies
### 0.2.0
+ Expose `strictSSL` setting to enable communication with self-signed servers
### 0.1.2
+ Update dependencies
+ Switch session manager to [hapi-easy-session][hes]
[hes]: https://www.npmjs.com/package/hapi-easy-session
### 0.1.1
+ Remove local package references