Re: [Hypercontent-users] CASIFY Hypercontent - issue
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2006-10-26 12:16:31
|
Hi, I actually recommend that you download the latest code from CVS to get started - the 2.0 release is functional but out-of-date with all the latest bug fixes and features. I am planning on cutting a 2.1 release before the JA-SIG conference based on what's in CVS today. There are no sample projects in CVS, though, but you can find some on the Wiki. When you download from the CVS, it's also a bit easier to make changes to files in the bootstrap repository using tools aside from HyperContent, as the CVS version has the bootstrap as a regular flat filesystem you can easily browse and modify from your OS. In the distribution it is in a versioning filesystem, which is not easy to manually modify if you accidentally lock yourself out of HC! The CAS pipeline looks like this: <pipeline name="login-cas" mode="login-cas" 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%3DLogin"/> </exec> <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> <with-param name="location" value="https://localhost:9090/cas/ login?service=${service}"/> </exec> </pipeline> You would just need to change the URL in the 3rd to last line accordingly, and of course make the changes to jaas.properties, which it sounds like you may have done already. There is also a beta quality JSR-168 portlet implementation in CVS if you want to experiment with direct integration rather than using web proxy. The classname is org.hypercontent.portlet.HyperContentPortlet and it takes a preference "path" which defines the HC url that will show up in the portlet, e.g. "/project-name/folder/file.html". There are still some things I'd like to do to improve performance, and it would be very nice to have someone else testing as well! The portlet fully supports browsing at this point, and key editors like the XML and image editors are already working in edit mode. Cheers, Alex On Oct 26, 2006, at 1:09 AM, tom tom wrote: > Hi, > I started the feasibility of Hypercontent 2.0 again , > I was busy uPorgtal deployment and some other work > last couple of months. > > I have two objectives > > 1) Casify Hypercontent > > 2) access from uPortal via WebProxy > > To achive the first am following instructions in > CAS_READ_ME under cas-support, I guess I followed all > the instructions apart from the following, can someone > let me know how to do the following, I cant see the > file stated below (/config/pipelines.xml), am using > Hypercontent 2.0 (downloaded from the website). I am > under the impression we need to do the following > maually. Can someone let me know how to proceed on > this. As I have done part of the instructions I cant > login as admin admin. I cant see any pipeline with the > name login-cas > > > > In addition, the file "/config/pipelines.xml" in the > bootstrap project should be edited > to redirect login requests to CAS. There is a > pipeline named "login-cas" that shows > how this is done; you need simply to set the > appropriate login URL, rename "login-cas" > to "login", and rename the existing "login" pipeline > to "login-local". > > Thanks > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |