You probably want to use this:
https://source.jasig.org/cas3/tags/cas-server-3.4.5/cas-server-support-ldap/src/main/java/org/jasig/cas/authentication/principal/CredentialsToLDAPAttributePrincipalResolver.java

Its a CredentialsToPrincipalResolver that will take any value passed, look
it up, and return another value as the principal id.

I.e. look up by uid but return random attribute.

However, this change affects all services.


On Wed, Jan 26, 2011 at 4:19 PM, Brad Seaton <[email protected]> wrote:

> I am new to cas and I am trying to implement a cas server to work with
> Pharos.  CAS will use Active Directory to authenticate users, which I got
> working.  The issue is Pharos is using CAS Protocol 1.0 and I have to be
> able to respond with the student ID. Right now it response with yes and the
> username.  I have the id in Active Directory in extensionAttribute15.  Is
> there a way I can have it respond with yes and the value in
> extensionAttribute15.
>
> I used this example
> https://wiki.jasig.org/display/CASUM/End-to-end+Windows+Example.
>
> Thanks for any help.
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to