Thread: [Hypercontent-users] sample project for department
Brought to you by:
alexvigdor
From: Ray S. <ls...@sc...> - 2006-03-16 07:58:11
|
Hi Alex Would you please send us a sample HC2.0 project package for a department website in your college ? We hope this would help us to setup department websites by using HC2.0 in our campus. More details about authentication with LDAP , CAS are expected to be finished on the HC home site . Thx. Ray |
From: Carl B. <C.P...@hu...> - 2006-03-16 13:35:15
|
Hi Ray I have put a project package in the HyperContent Wiki that we user here in Hull as a basis for our departmental sites. We allow our users to be very flexible so navigation is dynamically created from the file structure as they build it. You might file it useful. Many Thanks Carl Ray Sun wrote: > > Hi Alex > > > > Would you please send us a sample HC2.0 project package for a > department website in your college ? > > We hope this would help us to setup department websites by using HC2.0 > in our campus. > > More details about authentication with LDAP , CAS are expected to be > finished on the HC home site . > > Thx. > > Ray > -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-03-21 21:48:19
|
Hi Ray, Sorry the documentation has been so slow in coming. Developing a browser for inserting images and links is my current project, which we'll begin beta testing at Columbia starting later this week. In the meantime, you'll find instructions for CAS integration in the file /cas-support/CAS_READ_ME in the 2.0 distribution and the LDAP configuration is made in the file "/source/properties/xml/ LDAPtoVCARD.xml"; LDAP attributes are mapped into the vcard XML with references like {cn}, which you'll see. Cheers, Alex On Mar 16, 2006, at 2:34 AM, Ray Sun wrote: > Hi Alex > > > > Would you please send us a sample HC2.0 project package for a > department website in your college ? > > We hope this would help us to setup department websites by using > HC2.0 in our campus. > > More details about authentication with LDAP , CAS are expected to > be finished on the HC home site . > > Thx. > > Ray > > |
From: Ray S. <ls...@sc...> - 2006-03-22 02:42:05
|
Thanks for your help, Carl and Alex! I get CAS work with HC2 now.But logout is not woking well. Obviously the browser doesn=A1=AFt logout CAS so when I click = =A1=B0Logout=A1=B1 on any position inside a project ,my browser is redirected to CAS and = automatically logs in again. This won=A1=AFt happen on the project list page (/index.xml?mode=3Dinteractive&screen=3Dview) .I wonder if we can = redirect the browser to this home page instead of where we were when we logout or = if there is a way to logout HC and CAS on the meanwhile. =20 If we solve this problem another will come. That is: When trying to directly access a file or dir inside a project (eg. /photo/myalbum/2006/index.xml) we would be redirected to the home page = . Then we would have to click the photo project on this page and login = through CAS and now we get /photo but not /photo/myalbum/2006/index.xml. =20 Maybe we can modify the param in pipeline.xml in bootstrap adding =A1=B0 &renew=3Dtrue=A1=B1 to cas login url: <exec stage=3D"org.hypercontent.project.engine.stage.RedirectStage"> <with-param name=3D"location" = value=3D"https://security. scut.edu.cn/cas/login?service=3D${service}&renew=3Dtrue" /> </exec> But now we lose SSO . :) =20 Any idea? =20 Thanks. _____ =20 =B7=A2=BC=FE=C8=CB: hyp...@li... [mailto:hyp...@li...] =B4=FA=B1=ED = Alex Vigdor =B7=A2=CB=CD=CA=B1=BC=E4: 2006=C4=EA3=D4=C222=C8=D5 5:48 =CA=D5=BC=FE=C8=CB: 'Hypercontent-users' =D6=F7=CC=E2: Re: [Hypercontent-users] sample project for department =20 Hi Ray, Sorry the documentation has been so slow in coming. Developing a browser for inserting images and links is my current project, which = we'll begin beta testing at Columbia starting later this week. In the = meantime, you'll find instructions for CAS integration in the file /cas-support/CAS_READ_ME in the 2.0 distribution and the LDAP = configuration is made in the file "/source/properties/xml/LDAPtoVCARD.xml"; LDAP attributes are mapped into the vcard XML with references like {cn}, = which you'll see. =20 Cheers, Alex =20 On Mar 16, 2006, at 2:34 AM, Ray Sun wrote: Hi Alex Would you please send us a sample HC2.0 project package for a department website in your college ? We hope this would help us to setup department websites by using HC2.0 = in our campus. More details about authentication with LDAP , CAS are expected to be finished on the HC home site . Thx. Ray =20 |
From: Ray S. <ls...@sc...> - 2006-03-22 03:21:03
|
Thanks for your help, Carl and Alex! I get CAS work with HC2 now.But logout is not woking well. Obviously the browser doesn't logout CAS so when I click "Logout" on any position inside a project ,my browser is redirected to CAS and automatically logs in again. This won't happen on the project list page (/index.xml?mode=interactive&screen=view) .I wonder if we can redirect the browser to this home page instead of where we were when we logout or if there is a way to logout HC and CAS on the meanwhile. If we solve this problem another will come. That is: When trying to directly access a file or dir inside a project (eg. /photo/myalbum/2006/index.xml) we would be redirected to the home page . Then we would have to click the photo project on this page and login through CAS and now we get /photo but not /photo/myalbum/2006/index.xml. Maybe we can modify the parameter in pipeline.xml in bootstrap adding "&renew=true" to CAS login url: <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> <with-param name="location" value="https://security.scut.edu.cn/cas/login?service=${service}&renew=t rue" /> </exec> But now we lose SSO . :) Any idea? Thanks. |
From: Alex V. <av...@co...> - 2006-03-22 23:05:51
|
Hi Ray, Try substituting this for the logout pipeline in /config/pipelines.xml: <pipeline name="logout" mode="logout" basedir="/" content-type="text/ html" binding="all"> <exec stage="org.hypercontent.project.engine.stage.SessionAttributeStage"> <with-param name="name" value="service"/> <with-param name="value" value="${abs-project-base}${request-path}% 3f${request-parms-encoded}%26command%3DLogout"/> </exec> <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> <with-param name="location" value="https://localhost:9090/cas/ logout?service=${service}"/> </exec> </pipeline> This will log you out of CAS and tell CAS to redirect to the HyperContent logout command. After this the user should be redirected to the CAS login screen if the page is not world readable. Cheers, Alex On Mar 21, 2006, at 10:20 PM, Ray Sun wrote: > Thanks for your help, Carl and Alex! > I get CAS work with HC2 now.But logout is not woking well. > Obviously the browser doesn't logout CAS so when I click "Logout" > on any > position inside a project ,my browser is redirected to CAS and > automatically > logs in again. This won't happen on the project list page > (/index.xml?mode=interactive&screen=view) .I wonder if we can > redirect the > browser to this home page instead of where we were when we logout > or if > there is a way to logout HC and CAS on the meanwhile. > If we solve this problem another will come. That is: > When trying to directly access a file or dir inside a project (eg. > /photo/myalbum/2006/index.xml) we would be redirected to the home > page . > Then we would have to click the photo project on this page and > login through > CAS and now we get /photo but not /photo/myalbum/2006/index.xml. > Maybe we can modify the parameter in pipeline.xml in bootstrap adding > "&renew=true" to CAS login url: > <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> > <with-param name="location" > value="https://security.scut.edu.cn/cas/login?service=${service} > &renew=t > rue" > /> > </exec> > But now we lose SSO . :) > Any idea? > Thanks. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |