You should be able to create a custom UsernamePasswordServiceCredentials (or whatever you'd like to call it). This should include a String property and a setter/getter.
You'd plug that into the authenticationViaForm bean setting the formBackingObject (I think that's what its called...the JavaDocs for Spring WebFlow would know exactly). The formBackingObject would be the fully qualified class name...i.e. org.mycompany.authentication.UsernamePasswordServiceCredentials Just a note that it may not be a good idea to use Service as part of your credentials as CAS is designed to only authenticate once per single sign on session. -Scott On 10/1/07, Romain Bourgue <[EMAIL PROTECTED]> wrote: > > Hi, > > You'll have to extend UsernamePasswordCredentials with a class that > supports the > /service/ parameter. Then you'll need a specific credential binder for > this > class that will fill username, password and service to this object. > > You'll also need a modified authentication handler to match the correct > authentification handler with the specified service. > > The perfect fit for this would be to use RegisteredService by attaching > allowedAuthenticationHandlers to them as described in > > http://www.ja-sig.org/wiki/display/CAS/AllowedAuthenticationHandlers+for+RegisteredService > > > > Romain > > Clifford Bryant a écrit : > > Is it possible to pass additional information in the > > UsernamePasswordCredentials object? For example, it would be useful to > > be able to pass the application that the user is attempting to access > > when they signon. Different applications use different database tables > > to store the username and password data. > > > > > > > > Clifford Bryant, Senior Developer > > > > Edgewater Technology, Inc. > > > > ------------------------------------------------------------- > > > > 20 Harvard Mill Square > > > > Wakefield, MA 01880 > > > > Direct (: 781.213.9885 > > > > Cell (: 617.417.6704 > > > > Fax 6: 781.246.5903 > > > > *: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > ü: www.edgewater.com <http://www.edgewater.com/> > > > > > > > > > > This e-mail and any files transmitted with it are confidential and are > intended solely for the use of the individual or entity to whom they are > addressed. This communication may contain information that is protected > from disclosure by applicable law. If you are not the intended recipient, > or the employee or agent responsible for delivering this communication to > the intended recipient, be advised that you have received this e-mail in > error and any use, dissemination, forwarding, printing or copying of this > e-mail is strictly prohibited. If you believe that you have received this > e-mail in error, please immediately notify Edgewater Technology by telephone > at (781) 246-3343 and delete the communication from all e-mail files. > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > -- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
