Hi everyone,

I've been successfully using CAS (3.3.4) out-of-the-box (except for few 
changes) for some time now. The auth is straightforward with a Username and 
Password through JDBC. Also, the auth handler being used is 
SearchModeSearchDatabaseAuthenticationHandler which has been defined in 
deployerConfigContext.xml.

The scenario where I'm facing problems is that I now have to create a new 
"Super User" login form, which again has to use CAS for auth (besides the 
existing "User" login form). The super user form contains one additional text 
field  - "companyId" which is also needed in auth. I must mention that super 
user will authenticate from a different table.

I've read up how to create custom Auth Handlers and different ways of 
configuring Credentials etc. but could not make any progress and in fact I'm 
more confused regarding how to go about it.
I would greatly appreciate any help regarding this case and a few queries I 
have -

1. I'm assuming I have to customize authentication handler? If so, can I simply 
keep using existing handler or have to write a new one?
2. I'm pretty sure I will have to write a new Credential. Should I extend 
UsernamePasswordCredentials (like RememberMe) or write a new one?
3. So far, the only file I'm aware of which needs configuring in such cases is 
deployerConfigContext.xml. Will I also need to tweak cas-servlet.xml and/or 
login-webflow.xml in any way? There is quite some confusion regarding which to 
use (old vs. new way) after Webflow introduction.

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

Reply via email to