Hi all,

I want to use three separate handlers, which one is used depends on the format 
of the Principle (e.g. the username). We call CAS using REST, which appears to 
fix us to using only UsernamePasswordCredentials, so I can't use different 
Credentials implementations and then select which authentication using the 
supports() method. I thought instead that I could examine the username in the 
supports() method of each authenticator but unfortunately that method is final 
in AbstractPreAndPostProcessingAuthenticationHandler. 

I think my choices are either to create my own 
AbstractPreAndPostProcessingAuthenticationHandler, or not use supports() and 
instead work out if the credentials are supported in the 
authenticateUsernamePasswordInternal() method. 

I'm leaning towards the first option, but just thought I'd see if anyone has 
any suggestions. 

cheers, john
-- 
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