There should be a method that allows you to determine whether the provided
Credentials object is one your AuthenticationHandler should bother with.  If
you look at the source code (
https://www.ja-sig.org/svn/cas3/tags/cas-3-3-2-final/cas-server-core/src/mai
n/java/org/jasig/cas/authentication/handler/support/AbstractUsernamePassword
AuthenticationHandler.java ), you will see there is a setClassToSupport()
method that allows you to specify a class to check for in the supports()
method.  This is the only thing I can see for you as the supports() method
is marked final and will most likely not change (right Scott? =D).

HTH,
A-


On 4/29/09 7:00 AM, "Saravanan Chinnasamy" <[email protected]> wrote:

> Hi,
>  
> We have added a custom handler << RPASUserNamePasswordAuthenticationHandler >
> for Windows Live authentication. This handler extends the CAS abstract handler
> << AbstractUsernamePasswordAuthenticationHandler>>. We can register n number
> of handlers inside single instance of CAS for different authentication
> mechanism. In order to authenticate against the appropriate handler, CAS
> service invokes the supports function of each handler providing the user
> credentials.  Can we override the support function provided in
> (AbstractUsernamePasswordAuthenticationHandler class) to recognize a
> particular credential pattern deciding the suitability for this authentication
> handler. This way, we can define and invoke different handlers under same
> instance of CAS Server.
>  
>  
> Thanks
> Saravanan
>  
> _____________________________________________________________________
>  
> This e-mail message may contain proprietary, confidential or legally
> privileged information for the sole use of the person or entity to whom this
> message was originally addressed. Any review, e-transmission dissemination or
> other use of or taking of any action in reliance upon this information by
> persons or entities other than the intended recipient is prohibited. If you
> have received this e-mail in error kindly delete this e-mail from your
> records. If it appears that this mail has been forwarded to you without proper
> authority, please notify us immediately at [email protected] and delete this
> mail. 
> _____________________________________________________________________

-- 
Andrew Feller, Analyst
LSU University Information Services
200 Frey Computing Services Center
Baton Rouge, LA 70803
Office: 225.578.3737
Fax: 225.578.6400


-- 
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