Re: [Hypercontent-users] How to read groups.xml from the CAS server.
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-01-24 14:06:18
|
On Jan 23, 2007, at 7:17 PM, tom tom wrote: > > How can I create the above /skin/page-edit-link.vm > file > should I have a seperate resource-directory in my > project definition file. Yes, e.g. <resource-directory label="Velocity template" path="/skins/**/*.vm" publish="true"> <content type="application/x-vtl" /> <output basedir="/" content-type="text/plain" /> </resource-directory> > > within uPortal what we have is jsps infact the portlet > development strategy is struts-bridge what this means > is our portlets are not govern by xsls. But still I > will incooperate the above <script type="text/j...... > code segment and try but let me know what are the > values that I should give for abs-project-base, > bs-server-base, and request-path assuming my project > is running in the following url abs-project-base = http://<HC Server>:<HCPort>/hypercontent/test_project abs-server-base = http://<HC Server>:<HCPort>/hypercontent request-path = /path/in/hc/repository/file.ext > > http://<HC Server>:<HC > Port>/hypercontent/test_project/?mode=interactive > > > Also explain me how does that entire logic works, how > does the HC knows about the user credentials. > HC never sees the users credentials - it uses a standard CAS authentication to identify the user. HC uses its own groups and permission configuration to then determine whether that user has the right to edit the page. Cheers, Alex |