On Tue, Aug 3, 2010 at 2:52 PM, Rahul <[email protected]> wrote: > <snip /> > > 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? >
If you've got custom logic that doesn't match what we've got in our default handlers, then yes, you'll need a custom one. You can keep the existing one for use cases where you need it. > 2. I'm pretty sure I will have to write a new Credential. Should I extend > UsernamePasswordCredentials (like RememberMe) or write a new one? > It depends. If you need a username and password, then extend it :-). You may need to adjust the configuration of the authentication handlers to get the proper behavior (they can be configured to support any "instanceof" or exact class match). > 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. > You'll definitely need to change the deployerConfigContext.xml. If you're adding a new credential to be used, in CAS 3.4.2, you'll have to modify the web flow. In CAS 3.3.5, that information is contained in the cas-servlet. Cheers, Scott > > 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
