[cas-dev] returning custom NetID

Jennifer Yang jyoonyang at gmail.com
Fri Oct 6 13:52:23 EDT 2006


Using custom UsernamePasswordCredentials sounds great.  How do I plug this
in?  Is there some kind of factory that I can configure?

--Jennifer



On 10/5/06, Scott Battaglia <scott.battaglia at gmail.com> wrote:
>
> If you wanted to you could store some information in a custom
> UsernamePasswordCredentials that has additional fields (we do it for certain
> scenarios).  You could also do the look up again depending on how expensive
> it is (if you use connection pooling the look up expense may be minimal).
>
> -Scott
>
> On 10/3/06, Jennifer Yang <jyoonyang at gmail.com> wrote:
>
> > Scott,
> >
> > That's great.  I can plug in our own.
> >
> > One more question.  Our auth backend function actually returns a bunch
> > of things, including principal.   Is there any way we can store the returned
> > principal to be used by the CredentialsToPrincipalResolver so that we don't
> > have to do the same lookup in both AuthenticationHandler and
> > CredentialsToPrincipalResolver ?
> >
> > --Jennifer
> >
> > _______________________________________________
> > cas-dev mailing list
> > cas-dev at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas-dev
> >
> >
> >
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20061006/0dc8ea3a/attachment.html


More information about the cas-dev mailing list