[Hypercontent-users] How to read groups.xml from the CAS server.
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2006-12-12 04:41:09
|
Hi Alex, In our setup, during the CAS authentication (we do part of authorization as well and fill additional attributes to the principal). Assume when a HC author login to the CAS and control passes to the Uportal there is a link (HREF) to the HC server for auhoring. Well.... the question is if some other staff (not a HC user) we do not want to show the link to HC. So what would be the best way to check whether the given user is a HC user (e.g auther) during the CAS authentication level, so that we can populate the principal and pass back to uPortal. Currently am thinking of providing a servlet in HC Web Application which reads the groups.xml and check whether the given user is inside the xml. And this servelet will be called from the CAS machine (URLConnection). Let me know your thoughts on this. It is assumed that HC authors are listed in the groups.xml and HC server is a seperate box similar to the CAS box --- Alex Vigdor <al...@bi...> wrote: > > On Dec 7, 2006, at 7:43 PM, tom tom wrote: > > > > > Everything working fine, but for.e.g if author > wants > > to add a new file(xml) under a new folder, what > can he > > do? > > Definite can add a folder because of the > > resource-directory but after that xml? > > There are two solutions people use for this > > 1) declare a separate xml-doctype "/**/index.xml" if > you want each > new directory to have an index page. > > 2) declare a resource-directory "/**/" labelled > "Directory" with no > content-types - this will allow you to create a new > empty directory. > > Alex > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com |