CasSeraphAuthenticator

"Version Compatibility"

This client has been successfully used in versions of Confluence up to 2.0 Atlassian modified authentication to utilize the new Atlassian-User framework in Confluence 2.1. You should use the Confluence CAS Client for this and later versions.

About

The CASSeraphAuthenticator is a CAS aware Seraph authenticator (a subclass of com.atlassian.seraph.auth.DefaultAuthenticator).

Methods

It has basically three methods:

method

description

getUser()

returns the name of the current CAS user (and stores it in the session)

login()

checks the session for CAS credentials for a successful login, if not found then attempts validate the login request via the super class

logout()

invalidates any data stored in the session and logs you out of your seraph session. Note: this version DOES NOT destroy your CAS single-sign on session

Notes

Versions of seraph before 0.6.5 may require the method signatures to be changed to use os_user's User object instead of java's Principal.

Attached is a developmental milestone of the authenticator used at Rutgers University.

Dependencies

Dependency

Where to get it

casclient.jar

see Yale CAS client distribution

log4j-*.jar

take this from the product distribution seraph came with

osuser-*.jar

take this from the product distribution seraph came with

seraph*.jar

take this from the product distribution seraph came with

servlet.jar

application server distribution