All of our resolves extend this class:
https://source.jasig.org/cas3/tags/cas-server-3.4.2.1/cas-server-core/src/main/java/org/jasig/cas/authentication/principal/AbstractPersonDirectoryCredentialsToPrincipalResolver.java

They all have a property that says if no attributes are found, return null.
 You can probably use that to look up the user.


On Wed, Sep 22, 2010 at 7:38 AM, Fco Javier Carreras Calero <
[email protected]> wrote:

>  Hi,
>
>
>
> I've gotten the CAS server authenticate a user with an x509 card. I made
> it with the class X509CertificateCredentialsToSerialNumberPrincipalResolver,
> but I want that the user exists in the database (Oracle) to be
> authenticated. The example in the web is done with LDAP.
>
> How should I do? with repositoryattributes? Would this be referenced from
> the class attributes as an identifier indicating the serialnumber?
>
>
>
> Ahh, I forgot, I want to compare the serialnumber of the card with a
> specific field of database.
>
>
>
> Thanks
>
> --
> 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