[cas-dev] Authentication on the service parameter
Scott Battaglia
scott.battaglia at gmail.com
Thu Mar 1 19:00:40 EST 2007
Harry,
Yes, on the AuthenticationViaForm set the formObjectName and the
formObjectClass. The former should be "credentials" and the latter, the
fully qualified path to your class (org.mycompany.package.Class).
You should not need a CredentialsBinder.
-Scott
On 2/28/07, Harry Ng <harryworld at gmail.com> wrote:
>
>
> Scott,
>
> After extending this class, should I do some settings on those
> configuration
> files to point to the new Credentials? Besides, I read somewhere that
> implements CredentialsBinder as well. Should I do that?
>
> Thanks,
> Harry
>
>
> Scott Battaglia-2 wrote:
> >
> > You merely need to extend the UsernamePasswordCredentials and add
> > getters/setters for your additional properties. Since they are part of
> > the
> > Request, Spring will automatically bind matching request parameters to
> > matching properties.
> >
> > -Scott
> >
> > On 2/27/07, Harry Ng <harryworld at gmail.com> wrote:
> >>
> >> Hi all,
> >>
> >> I have a question here. During the authentication, I would like to
> check
> >> some additional information/parameters provided to the CAS Server. Let
> >> say I
> >> also check the content of "service" parameter, so that only appropriate
> >> service will lead to successful authentication.
> >>
> >> I understand somehow this is an authorization problem, but please take
> >> this as just an example, since I may need some other parameters or
> >> information for authentication.
> >>
> >> How can I implement this? Is there any example for me to refer?
> >>
> >> Thanks,
> >> Harry
> >>
> >> --
> >> My Weblog - http://wpmu.planner4u.org/
> >> _______________________________________________
> >> Yale CAS mailing list
> >> cas at tp.its.yale.edu
> >> http://tp.its.yale.edu/mailman/listinfo/cas
> >>
> >>
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Authentication-on-the-service-parameter-tf3306770.html#a9207471
> Sent from the CAS Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070301/f3ebd447/attachment.html
More information about the cas
mailing list