Cas20ServiceTicketValidator.customParseResponse()
Scott Battaglia
scott.battaglia at gmail.com
Tue Feb 12 12:09:03 EST 2008
Hmm that would make it pretty hard to add attributes, wouldn't it? :-).
Can you file a JIRA issue for this?
It looks like I attempted to make the Assertion immutable (so that code
couldn't modify it). But having it immutable in this case doesn't really
buy us anything so I can change it to an empty HashMap.
-Scott
On Feb 12, 2008 11:38 AM, rg <rg4312 at gmail.com> wrote:
> I have a second question with this method. When customParseResponse() is
> called, I want to read attributes from the response xml
> and drop them into the attributes of the assertion passed into the method.
> However, the
> assertion passed into customParseResponse() is immutable with a
> Collections.EMPTY_MAP
> in the attributes field. How would you advise populating attributes
> in customParseResponse()?
> thanks,
> -rg
>
> On Feb 12, 2008 8:44 AM, Scott Battaglia <scott.battaglia at gmail.com>
> wrote:
>
> > You can also create a custom filter that extends
> > AbstractTicketValidationFilter and instantiate your new class. Just follow
> > the model for the existing filters.
> >
> > -Scott
> >
> >
> > On Feb 12, 2008 8:30 AM, rg <rg4312 at gmail.com> wrote:
> >
> > > Got it. Thanks! I was hoping to not have to require the spring.jar in
> > > all my client webapps. -rg
> > >
> > > On Feb 11, 2008 3:49 PM, Scott Battaglia <scott.battaglia at gmail.com>
> > > wrote:
> > >
> > > > If you want to provide a custom ticket validator, the easiest way is
> > > > to configure the filter via Spring (or another DI container) and inject your
> > > > instance of a TicketValidator into it.
> > > >
> > > > -Scott
> > > >
> > > > On Feb 11, 2008 2:34 PM, rg <rg4312 at gmail.com> wrote:
> > > >
> > > > > I want to extend Cas20ServiceTicketValidator.customParseResponse()
> > > > > with my own custom parsing. However, the construction of the TicketValidator
> > > > > as type Cas20ServiceTicketValidator occurs in the method
> > > > > Cas20ProxyReceivingTicketValidationFilter.getTicketValidator().
> > > > > What is the appropriate way to extend customParseResponse()? -rg
> > > > >
> > > > > _______________________________________________
> > > > > Yale CAS mailing list
> > > > > cas at tp.its.yale.edu
> > > > > http://tp.its.yale.edu/mailman/listinfo/cas
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > -Scott Battaglia
> > > > PGP Public Key Id: 0x383733AA
> > > > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> > > > _______________________________________________
> > > > 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
> > >
> > >
> >
> >
> > --
> > -Scott Battaglia
> > PGP Public Key Id: 0x383733AA
> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> >
> > _______________________________________________
> > 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
>
>
--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080212/c6d75b1b/attachment.html
More information about the cas
mailing list