Hi, Ive recently started developing on Magnolia 3.5.4, and I think Im beginning to understand how most things work. However my brave tale of discovery and adventure has hit a bit of a snag when it comes to integrating Magnolia with a CAS. If someone out there in the ether could point me in the right direction Id be most grateful!
The story so far: What I need to do is to have certain URIs filtered and authenticated via a CAS. Rather than reinvent the wheel, Ive googled for it and got this page: http://robcos.com/cas-magnolia/ which seems to detail how to go about doing what I want. However, this is badly out of date and lots of the classes referenced by the code no longer exist, or are deprecated. There also seems to have been a number of significant changes to how Magnolia goes about things as well which basically means that the model used by Mr Cosenza is no longer valid (for instance, he uses the SecureURI class to check if the URI needs authenticating and this is not how magnolia does things anymore). Significantly, I also found this interesting snippet: Really interesting... the next version of magnolia will be much more > > flexible in terms of authentication, and a ready to use CAS module > > would be nice. > > I will take a look if I can add a CAS module for 3.0 (obviously fixing > > the current code to easily allow extensions, if needed... without the > > need for patching existing classes). > > > > thanks > > fabrizio > > > Should this not be achieved through JAAS in the first place? > - Boris My questions are therefore: - Is there now a CAS module for 3.5.4, and if so what is it called and um, how do I use it? (I already have the Magnolia source code, so I am happy to extend or change any class should it be required) - If not, how does Magnolia implement access control to different URIs so that I can get in there and do my own filtering. (from what I can tell from poking about in the code is that it seems to be implemented by URI patterns specified in the user groups) - Is it better to put my filter declaration in my web.xml file, or to add the filter definition as a node in server/filters so that MgnlMainFilter picks it up? Any help on this would be most sincerely appreciated! Chris Robson. ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/ ----------------------------------------------------------------
