How do I get access to Service Registry information in the view?

Scott Battaglia scott.battaglia at gmail.com
Mon Mar 10 17:47:13 EDT 2008


Lucas,

Because of the CentralAuthenticationService interface being what it is we
can't return the service via that method. Your best bet is to create a
HandlerInterceptor at the web tier and obtain the service via the
ServiceManager (similar to what the ServiceThemeResolver does) and place
that in the model so that you have access to it.

-Scott

On Tue, Mar 4, 2008 at 5:23 PM, Lucas Rockwell <lr at berkeley.edu> wrote:

> Hi all,
>
> I am using the Service Registry and I want to be able to put
> something like the following on the login page:
>
>    "Authentication for 'xyz service'"
>
> Where 'xyz service' is the "name" of the service in the registry. How
> do I get access to this information in the view?
>
> I apologize if this has been answered before, but I have looked
> though my past emails, and could not find anything on the subject.
>
> Many thanks.
>
> -lucas
> _______________________________________________
> 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/20080310/6033c4aa/attachment.html 


More information about the cas mailing list