Commit 2f532365 authored by Misagh Moayyed's avatar Misagh Moayyed
Browse files

Updated docs

parent 91edd49d
......@@ -119,7 +119,6 @@ interest.
* [Database](Database-Authentication.html)
* [JAAS](JAAS-Authentication.html)
* [LDAP](LDAP-Authentication.html)
* [Legacy](Legacy-Authentication.html)
* [OAuth 1.0/2.0, OpenID](OAuth-OpenId-Authentication.html)
* [RADIUS](RADIUS-Authentication.html)
* [SPNEGO](SPNEGO-Authentication.html) (Windows)
......
---
layout: default
title: CAS - Legacy Authentication
---
# Legacy Authentication
Legacy authentication components are enabled by including the following dependencies in the Maven WAR overlay:
{% highlight xml %}
<dependency>
<groupId>org.jasig.cas</groupId>
<artifactId>cas-server-support-legacy</artifactId>
<version>${cas.version}</version>
</dependency>
{% endhighlight %}
## Legacy Components
CAS provides the following components to accommodate different legacy authentication needs for backwards compatibility:
###`LegacyAuthenticationHandlerAdapter`
Adapts a CAS 3.x `AuthenticationHandler` onto a CAS 4.x `AuthenticationHandler`. If the supplied legacy authentication handler supports `NamedAuthenticationHandler`, then its defined name will be used to identify the handler. Otherwise, the name of the class itself will be used.
###`CredentialsAdapter`
Interface to be implemented by adapters to determine how credentials need be converted over to CAS 4.
####`UsernamePasswordCredentialsAdapter`
Adapts and converts a CAS 4 username/password credential into a CAS 3.x username/password credential.
### Sample Configuration
{% highlight xml %}
<bean id="legacyAuthHandler"
class="org.jasig.cas.authentication.LegacyAuthenticationHandlerAdapter"
c:legacy-ref="cas3LegacyAuthenticationHandler"
c:adapter-ref="usernamePasswordCredentialsAdapter" />
{% endhighlight %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment