hypercontent-users Mailing List for HyperContent (Page 14)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Adam C. <ac...@co...> - 2006-11-09 13:43:47
|
Alex, Is there a way to get Hypercontent to publish to a directory and not delete the softlinks which are located in the top most directory? For example we publish to /www/htdocs and there are some existing soft links which get erased. DVMM -> /homes/dvmmweb/public_html/dvmm Adam |
From: Alex V. <al...@bi...> - 2006-11-09 13:35:45
|
On Nov 8, 2006, at 12:41 AM, tom tom wrote: > Hi, > I got CAS + uPortal and HC working fine. Also I wanted > to introduce a staging area before contents get > published, due to this reason I had to introduce some > file system definitions this also working fine. But I > got some problems/doubts moving forward. > > I want to get build (preview), approve, publish thing > going. Well.... I am not sure my understanding is > correct. Any how let me put down my questions and > doubts. > > What is the HC workflow is it as follows. > build -> aprrove -> publish ? It would be more like edit -> preview -> approve -> build -> publish So you may or may not find the build stage necessary. > > > How can we make sure we cant publish anything without > the approval. How can we enforce this rule. > How can we set the mail parameters for the approvers > when there are items which needs to be approved. You can set up the approval configuration in the approvals workflow script at /config/workflow/approvals.xml in the project repository. Every project gets its own copy of this, copied from the bootstrap when the project repository is first initialized. Lines 24-29 and 42-47 configure the recipients, subject and body of the approval emails. You need to configure your SMTP settings in hypercontent.properties for the email to work. In order to enforce approvals, you need to give your authors "write" permission but NOT "approve" permission and set up a separate group of approvers with "approve" permission. You also need to make sure that each user that needs to receive emails has an email address configured in their vcard (accessed by clicking your username in the upper right corner while logged in). You can configure HC to pull this information from LDAP in the classpath properties file / properties/xml/LDAPtoVCARD.xml. Set up the connection parameters, and map the attributes surrounded with {} in the rest of the XML to your LDAP attributes. > > What is the URL which needs to be provided for the > approvers. So that they can see the projects/resources > which needs to be approved. The URL is contained within the email, and can also be accessed by going to the workflow approvals screen. > > In the workflow UI what I can see is build and publish > activities only, I can't see the approve activity. > Should I change any configuration change in order to > get that in the UI. The approvals screen is only listed when you have some approval activities to perform - so once an author submits something for approval, an approver will see that option along with build and publish. > > > I have the following groups.xml (in bootstrap > project), I would like to have 3 distinct > users(auther_user,approver_user,publisher_user) one > doing the authoring, one doing the approving and other > doing the publishing. Can we something like that? Yes, this is fine, you just need to add the corresponding permissions for each group in permissions.xml. > > Should I do any modification to my new project, cause > I only changed the groups.xml in bootstrap project > only. > Only changed I did was in permissions.xml in my > project allowing read only access to anybody group. > > When I try to access middle of HC page as a approver > it says you do not have rights ..............etc. > You will need to give "group:approvers" write and approve permissions, and "group:publishers" permission to publish, and "groups:authors" permission to write, all in permissions.xml. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-08 22:38:07
|
Hi, I sent the following but cant see it appearing in the forum, anyhow I am resending it again. If its already there, sorry for the inconvenience. I got CAS + uPortal and HC working fine. Also I wanted to introduce a staging area before contents get published, due to this reason I had to introduce some file system definitions this also working fine. But I got some problems/doubts moving forward. I want to get build (preview), approve, publish thing going. Well.... I am not sure my understanding is correct. Any how let me put down my questions and doubts. What is the HC workflow is it as follows. build -> aprrove -> publish ? How can we make sure we cant publish anything without the approval. How can we enforce this rule. How can we set the mail parameters for the approvers when there are items which needs to be approved. What is the URL which needs to be provided for the approvers. So that they can see the projects/resources which needs to be approved. In the workflow UI what I can see is build and publish activities only, I can't see the approve activity. Should I change any configuration change in order to get that in the UI. I have the following groups.xml (in bootstrap project), I would like to have 3 distinct users(auther_user,approver_user,publisher_user) one doing the authoring, one doing the approving and other doing the publishing. Can we something like that? Should I do any modification to my new project, cause I only changed the groups.xml in bootstrap project only. Only changed I did was in permissions.xml in my project allowing read only access to anybody group. When I try to access middle of HC page as a approver it says you do not have rights ..............etc. <groups> <!-- The groups in this document should be overidden by projects wishing to re-use the built in workflows; superusers can be specified on a per-project level, and also globally via the bootstrap project--> <group name="group:consumers"> <group name="group:anybody"/> </group> <group name="group:authors"> <user name="auther_user/> <user name="author"/> </group> <group name="group:approvers"> <user name="approver"/> <user name="approver_user"/> </group> <group name="group:publishers"> <user name="publisher_user"/> <user name="publisher"/> </group> <group name="group:admin"> <user name="admin"/> <user name="testAdmin"/> </group> </groups> --- Alex Vigdor <al...@bi...> wrote: > > On Nov 1, 2006, at 10:20 PM, tom tom wrote: > > > Hi Alex, > > > > If I need a staging area, cant I have the same > > Hypercontent server to final publishing rather > than > > publishing it some other server. For example if I > have > > project called my-project can't we have a staging > area > > in the same project it self. > > If you want a staging area, you can use HC as the > web server, you > just need to specify a separate filesystem for the > build, as > described here: > > http://hypercontent.sourceforge.net/docs/manual/develop/filesystems.html > > Note that this page is for 1.4; 2.0 no longer > requires a preview > filesystem at all, build and publish are optional, > and you can > actually mount any number of additional filesystems > using a new > configuration tag "<mount directory="/basedir/">" > with a filesystem- > def beneath it. > > If you leave off the "base-url" attribute (which is > used to point to > an external web server), HC will serve the built > content at URLs like > > http://localhost:8080/hypercontent/project-name/build/index.html > > > > > Is there any performance issues(when concurrent > users > > goes up) if we select Hypercontent server as the > final > > server to serve the content. Should we only > consider > > Hypercontent for authers and publishers (limited > > users) > > HyperContent should scale well up to a point, but > publishing out > static files to be served by apache will probably > scale better. You > can also run HC on multiple servers behind a load > balancer, and they > will automatically distribute background processing > chores like > publishing between all the servers, as long as the > repositories are > located on a common mounted filesystem. > > > > > Is there any sample demo to see the life cycle > with > > some xml and stylesheet approach. > > I just uploaded "portlet.zip" at > > http://www.ja-sig.org/wiki/pages/viewpageattachments.action?pageId=12494 > > This contains the outdated contents of the CAS site > and presents it > in 7 different HTML outputs and 2 PDF outputs. This > will give you > good starting points for building any number of > possible displays; > the XSL for generating the navigation structures is > in a common file / > config/skins/base.xsl which you can re-use in your > custom designs. > One of the forms of output contains portlet styles, > so is appropriate > for integrating into the portal. > > > > > I observed some discrepancies while inserting some > > images just see following are bugs or not.... > > > > I am using a war file approach rather than using > HC > > inbuilt tomcat server. I created a war file called > > hypercontent.war and deployed on our existing > tomcat. > > > > I have a very primitive projectdefinition.xml as > > listed below. When I tried to edit the html and > insert > > an image using the editor, it does not inser the > > current relative path. it appends only > /someimage.jpg > > but it should be idealy > > /hypercontent/my-project/someimage.jpg > > When I changed this file in the text mode it > works. > > Actually, /someimage.jpg is the appropriate path. > All links and > images are stored as project-internal references, > without including > servlet or project mount points. This way the > projects are highly > portable across environments. The base.xsl file I > mentioned above > also has standard link and image re-writing logic > that appends a > relative base to the paths when they are rendered > (e.g. ../../ > someimage.jpg). The WYSIWYG also knows how to > interpret these > project-internal paths. > > Cheers, > Alex > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Sponsored Link Get an Online or Campus degree Associate's, Bachelor's, or Master's - in less than one year. http://www.findtherightschool.com |
From: tom t. <j_l...@ya...> - 2006-11-08 05:41:40
|
Hi, I got CAS + uPortal and HC working fine. Also I wanted to introduce a staging area before contents get published, due to this reason I had to introduce some file system definitions this also working fine. But I got some problems/doubts moving forward. I want to get build (preview), approve, publish thing going. Well.... I am not sure my understanding is correct. Any how let me put down my questions and doubts. What is the HC workflow is it as follows. build -> aprrove -> publish ? How can we make sure we cant publish anything without the approval. How can we enforce this rule. How can we set the mail parameters for the approvers when there are items which needs to be approved. What is the URL which needs to be provided for the approvers. So that they can see the projects/resources which needs to be approved. In the workflow UI what I can see is build and publish activities only, I can't see the approve activity. Should I change any configuration change in order to get that in the UI. I have the following groups.xml (in bootstrap project), I would like to have 3 distinct users(auther_user,approver_user,publisher_user) one doing the authoring, one doing the approving and other doing the publishing. Can we something like that? Should I do any modification to my new project, cause I only changed the groups.xml in bootstrap project only. Only changed I did was in permissions.xml in my project allowing read only access to anybody group. When I try to access middle of HC page as a approver it says you do not have rights ..............etc. <groups> <!-- The groups in this document should be overidden by projects wishing to re-use the built in workflows; superusers can be specified on a per-project level, and also globally via the bootstrap project--> <group name="group:consumers"> <group name="group:anybody"/> </group> <group name="group:authors"> <user name="auther_user/> <user name="author"/> </group> <group name="group:approvers"> <user name="approver"/> <user name="approver_user"/> </group> <group name="group:publishers"> <user name="publisher_user"/> <user name="publisher"/> </group> <group name="group:admin"> <user name="admin"/> <user name="testAdmin"/> </group> </groups> __________________________________________________________________________________________ Sponsored Link Talk more and pay less. Vonage can save you up to $300 a year on your phone bill. Sign up now. http://www.vonage.com/startsavingnow/ |
From: Alex V. <al...@bi...> - 2006-11-02 13:47:18
|
Hi everybody, For those who will be attending the upcoming JA-SIG conference in Atlanta, I will be presenting a pre-conference seminar on HyperContent that will include hands-on time with an intregrated uPortal/CAS/HyperContent stack using the new JSR-168 portlet for HyperContent that I'm feverishly polishing ;-) We will also be going over other new features, including canned searches, calendar display, and the handy base.xsl stylesheet at the heart of the new sample project, which should make custom design implementation much simpler. Sign up today! I won't be around for the rest of the conference (I have to fly back to my day job Monday morning), so the seminar and reception on Sunday will be the only opportunities to catch up with me. Cheers, Alex |
From: Carl P B. <C.P...@hu...> - 2006-11-02 13:44:50
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2006-11-02 13:38:27
|
Hi everybody, Recently I've been running HyperContent more in JDK 1.5, and I've noticed very occasional hangs, which of course are very difficult to reproduce. I was fortunate to reproduce it while I had the debugger on the other day, so I was able to quickly identify the cause. I'm not certain whether this bug actually affects 1.4 JVMs or not, but the fix should be safe for any JVM level. The cause was that a literal String was being used for synchronization in a heavily used class; the JDK was interning that string so that multiple instances of the class were sharing the same lock, when they should each have had there own, and in certain circumstances this would lead to a deadlock. This should also have had a negative impact on scalability, since it would prevent multiple transactional IO operations from happening concurrently. This bug has been present since April 6, 2005! The class in question is org.hypercontent.data.impl.AbstractDataStore, and the fix involved changing protected final Object storeLock="AbstractDataStore.storeLock"; to protected final Object storeLock=new Object(); The fix has been checked into CVS. -Alex |
From: Alex V. <al...@bi...> - 2006-11-02 13:17:17
|
On Nov 1, 2006, at 10:20 PM, tom tom wrote: > Hi Alex, > > If I need a staging area, cant I have the same > Hypercontent server to final publishing rather than > publishing it some other server. For example if I have > project called my-project can't we have a staging area > in the same project it self. If you want a staging area, you can use HC as the web server, you just need to specify a separate filesystem for the build, as described here: http://hypercontent.sourceforge.net/docs/manual/develop/filesystems.html Note that this page is for 1.4; 2.0 no longer requires a preview filesystem at all, build and publish are optional, and you can actually mount any number of additional filesystems using a new configuration tag "<mount directory="/basedir/">" with a filesystem- def beneath it. If you leave off the "base-url" attribute (which is used to point to an external web server), HC will serve the built content at URLs like http://localhost:8080/hypercontent/project-name/build/index.html > > Is there any performance issues(when concurrent users > goes up) if we select Hypercontent server as the final > server to serve the content. Should we only consider > Hypercontent for authers and publishers (limited > users) HyperContent should scale well up to a point, but publishing out static files to be served by apache will probably scale better. You can also run HC on multiple servers behind a load balancer, and they will automatically distribute background processing chores like publishing between all the servers, as long as the repositories are located on a common mounted filesystem. > > Is there any sample demo to see the life cycle with > some xml and stylesheet approach. I just uploaded "portlet.zip" at http://www.ja-sig.org/wiki/pages/viewpageattachments.action?pageId=12494 This contains the outdated contents of the CAS site and presents it in 7 different HTML outputs and 2 PDF outputs. This will give you good starting points for building any number of possible displays; the XSL for generating the navigation structures is in a common file / config/skins/base.xsl which you can re-use in your custom designs. One of the forms of output contains portlet styles, so is appropriate for integrating into the portal. > > I observed some discrepancies while inserting some > images just see following are bugs or not.... > > I am using a war file approach rather than using HC > inbuilt tomcat server. I created a war file called > hypercontent.war and deployed on our existing tomcat. > > I have a very primitive projectdefinition.xml as > listed below. When I tried to edit the html and insert > an image using the editor, it does not inser the > current relative path. it appends only /someimage.jpg > but it should be idealy > /hypercontent/my-project/someimage.jpg > When I changed this file in the text mode it works. Actually, /someimage.jpg is the appropriate path. All links and images are stored as project-internal references, without including servlet or project mount points. This way the projects are highly portable across environments. The base.xsl file I mentioned above also has standard link and image re-writing logic that appends a relative base to the paths when they are rendered (e.g. ../../ someimage.jpg). The WYSIWYG also knows how to interpret these project-internal paths. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-02 03:21:04
|
Hi Alex, If I need a staging area, cant I have the same Hypercontent server to final publishing rather than publishing it some other server. For example if I have project called my-project can't we have a staging area in the same project it self. Is there any performance issues(when concurrent users goes up) if we select Hypercontent server as the final server to serve the content. Should we only consider Hypercontent for authers and publishers (limited users) Is there any sample demo to see the life cycle with some xml and stylesheet approach. I observed some discrepancies while inserting some images just see following are bugs or not.... I am using a war file approach rather than using HC inbuilt tomcat server. I created a war file called hypercontent.war and deployed on our existing tomcat. I have a very primitive projectdefinition.xml as listed below. When I tried to edit the html and insert an image using the editor, it does not inser the current relative path. it appends only /someimage.jpg but it should be idealy /hypercontent/my-project/someimage.jpg When I changed this file in the text mode it works. --- Alex Vigdor <al...@bi...> wrote: > > On Oct 31, 2006, at 11:37 PM, tom tom wrote: > > > 1) What is the Life cycle of the contents e.g. > > edit,publish,approve > > This is flexible depending on how you want it. If > you give authors > "approve" permission, when they save changes it will > automatically > become visible to other HyperContent users, and > visible in the portal > if you are proxying directly from the HyperContent > server. You may > set up publishing as a single step or multiple steps > if you want a > staging area before content hits the public web, and > you can also > choose to proxy into the portal from the web server > hosting the > published site if you don't want changes appearing > immediately upon > save. > > If an author does not have "approve" permission, > they will be > redirected to the approvals screen on saving a file, > where they can > request approval. By default the workflow script > sends email to > members of "group:approvers" whenever an item needs > approval, and > approvers will also be able to see a list of items > awaiting approval > from the Workflow tab on any page within the > project. > > > > > 2) Can approvers query the contents which needs to > be > > aproved. > > See above > > > > > Could you let me know how to proceed on this, any > > documentation covers these (Hypercontent 2.0). > > > > There's not much organized documentation, I'm > afraid. Since > releasing 2.0 I've been continuing to develop new > features, I need to > take a break so I can write a manual! > > Cheers, > Alex > > > > > > > > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> From: al...@bi... > >> Subject: Re: [Hypercontent-users] CASIFY > >> Hypercontent - issue > >> Date: October 31, 2006 10:19:41 PM EST > >> To: j_l...@ya... > >> > >> > >> On Oct 31, 2006, at 9:28 PM, tom tom wrote: > >> > >> > >>> I really dont know whether are there security > >> holes or > >>> not? but seems allright for me. To my > >> understanding > >>> even though u dont give the 'mode=login' in the > >> link > >>> still HC does the handshake as you mentioned > >> above. > >>> > >> > >> "mode=login" can be used to force an immediate > login > >> attempt, but > >> does not alter the underlying protocol or > security, > >> and is not > >> required. HC automatically redirects to CAS when > a > >> page needs > >> authentication, so everything is secure. > >> > >> > >>> > >>> Without providing a link as above I followed one > >> of > >>> the feedback you sent it to me some time > back,i.e > >>> providing a webproxy for dashboard-portlet. > >>> > >>> I followed the following steps > >>> > >>> 1) I gave the following as the url > >>> > >> > > > http://localhost:8080/hypercontent/index.xml?mode=dashboard- > >> > >>> portlet&command=Login > >>> > >>> 2) gave > >>> > >> > edu.yale.its.tp.portal.security.CasConnectionContext > >>> as the LocalConnectionContext. > >>> > >>> apart from the above two I kept all other > entries > >> to > >>> the default values and published the webproxy. > >>> > >>> > >>> Then when I tried to subscribe to the channel it > >> gave > >>> me a xml parcing exception, after that I made > the > >> tidy > >>> on and republished, after that it doesnt show > any > >>> errors but shows a blank screen. > >>> > >>> Can You let me know whats wrong in my setup. Are > >> there > >>> any additional entries that I need to setup > while > >>> publishing this webproxy. > >>> > >> > >> That looks right to me, I would suggest checking > the > >> various logs for > >> errors. > >> > >> > >>> > >>> Can you let me know how this dashboard-differnt > to > >> the > >>> my exising way (providing a link to HC in a > >> channel) > >>> Does the dashboard-portlet got more security > >>> protection as it got differnt hand shake with > >>> uPortal-HC with the use of CasConnectionContext > >> and > >>> "command=Login" > >>> > >>> > >> > >> The handshake is the same either way; you don't > need > >> the dashboard > >> portlet if you are manually putting links in > other > >> content. > >> > >> > >>> > >>> In addition am getting the following error in > >>> catalina.out for the default simpleProject which > >> comes > >>> with the HC installations. Is there any way I > can > >>> delete this project completely. This error comes > >> when > >>> I am publishing contents via > >>> webproxy(dashboard-portlet) > >>> > >>> > >> > >> You can just delete the directory > "/projects/simple" > >> in the bootstrap > >> repository. I should have removed that from CVS > a > >> long time ago, sorry! > >> > >> Cheers, > >> Alex > >> > >>> > > > ---------------------------------------------------------------------- > > > --- > >> 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 > === message truncated === ____________________________________________________________________________________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview) |
From: Alex V. <al...@bi...> - 2006-11-01 13:36:56
|
On Oct 31, 2006, at 11:37 PM, tom tom wrote: > 1) What is the Life cycle of the contents e.g. > edit,publish,approve This is flexible depending on how you want it. If you give authors "approve" permission, when they save changes it will automatically become visible to other HyperContent users, and visible in the portal if you are proxying directly from the HyperContent server. You may set up publishing as a single step or multiple steps if you want a staging area before content hits the public web, and you can also choose to proxy into the portal from the web server hosting the published site if you don't want changes appearing immediately upon save. If an author does not have "approve" permission, they will be redirected to the approvals screen on saving a file, where they can request approval. By default the workflow script sends email to members of "group:approvers" whenever an item needs approval, and approvers will also be able to see a list of items awaiting approval from the Workflow tab on any page within the project. > > 2) Can approvers query the contents which needs to be > aproved. See above > > Could you let me know how to proceed on this, any > documentation covers these (Hypercontent 2.0). > There's not much organized documentation, I'm afraid. Since releasing 2.0 I've been continuing to develop new features, I need to take a break so I can write a manual! Cheers, Alex > > > > > --- Alex Vigdor <al...@bi...> wrote: > >> From: al...@bi... >> Subject: Re: [Hypercontent-users] CASIFY >> Hypercontent - issue >> Date: October 31, 2006 10:19:41 PM EST >> To: j_l...@ya... >> >> >> On Oct 31, 2006, at 9:28 PM, tom tom wrote: >> >> >>> I really dont know whether are there security >> holes or >>> not? but seems allright for me. To my >> understanding >>> even though u dont give the 'mode=login' in the >> link >>> still HC does the handshake as you mentioned >> above. >>> >> >> "mode=login" can be used to force an immediate login >> attempt, but >> does not alter the underlying protocol or security, >> and is not >> required. HC automatically redirects to CAS when a >> page needs >> authentication, so everything is secure. >> >> >>> >>> Without providing a link as above I followed one >> of >>> the feedback you sent it to me some time back,i.e >>> providing a webproxy for dashboard-portlet. >>> >>> I followed the following steps >>> >>> 1) I gave the following as the url >>> >> > http://localhost:8080/hypercontent/index.xml?mode=dashboard- >> >>> portlet&command=Login >>> >>> 2) gave >>> >> edu.yale.its.tp.portal.security.CasConnectionContext >>> as the LocalConnectionContext. >>> >>> apart from the above two I kept all other entries >> to >>> the default values and published the webproxy. >>> >>> >>> Then when I tried to subscribe to the channel it >> gave >>> me a xml parcing exception, after that I made the >> tidy >>> on and republished, after that it doesnt show any >>> errors but shows a blank screen. >>> >>> Can You let me know whats wrong in my setup. Are >> there >>> any additional entries that I need to setup while >>> publishing this webproxy. >>> >> >> That looks right to me, I would suggest checking the >> various logs for >> errors. >> >> >>> >>> Can you let me know how this dashboard-differnt to >> the >>> my exising way (providing a link to HC in a >> channel) >>> Does the dashboard-portlet got more security >>> protection as it got differnt hand shake with >>> uPortal-HC with the use of CasConnectionContext >> and >>> "command=Login" >>> >>> >> >> The handshake is the same either way; you don't need >> the dashboard >> portlet if you are manually putting links in other >> content. >> >> >>> >>> In addition am getting the following error in >>> catalina.out for the default simpleProject which >> comes >>> with the HC installations. Is there any way I can >>> delete this project completely. This error comes >> when >>> I am publishing contents via >>> webproxy(dashboard-portlet) >>> >>> >> >> You can just delete the directory "/projects/simple" >> in the bootstrap >> repository. I should have removed that from CVS a >> long time ago, sorry! >> >> Cheers, >> Alex >> >>> > ---------------------------------------------------------------------- > --- >> 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 >> > > > > > ______________________________________________________________________ > ______________ > Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone > call rates > (http://voice.yahoo.com) > |
From: tom t. <j_l...@ya...> - 2006-11-01 04:37:27
|
Hi Alex, still dashboard-portlet doesnt seem to appear, any how that is an additional think my link working fine. Now I got the infrastructure ready. What I got was a very primitive project definition without any of the xmls or stylesheets. Now I would like to explore more features of the Hypercontent. I would like to introduce a xml+xsl and do the same also I would like to know the following 1) What is the Life cycle of the contents e.g. edit,publish,approve 2) Can approvers query the contents which needs to be aproved. Could you let me know how to proceed on this, any documentation covers these (Hypercontent 2.0). --- Alex Vigdor <al...@bi...> wrote: > From: al...@bi... > Subject: Re: [Hypercontent-users] CASIFY > Hypercontent - issue > Date: October 31, 2006 10:19:41 PM EST > To: j_l...@ya... > > > On Oct 31, 2006, at 9:28 PM, tom tom wrote: > > > > I really dont know whether are there security > holes or > > not? but seems allright for me. To my > understanding > > even though u dont give the 'mode=login' in the > link > > still HC does the handshake as you mentioned > above. > > > > "mode=login" can be used to force an immediate login > attempt, but > does not alter the underlying protocol or security, > and is not > required. HC automatically redirects to CAS when a > page needs > authentication, so everything is secure. > > > > > > Without providing a link as above I followed one > of > > the feedback you sent it to me some time back,i.e > > providing a webproxy for dashboard-portlet. > > > > I followed the following steps > > > > 1) I gave the following as the url > > > http://localhost:8080/hypercontent/index.xml?mode=dashboard- > > > portlet&command=Login > > > > 2) gave > > > edu.yale.its.tp.portal.security.CasConnectionContext > > as the LocalConnectionContext. > > > > apart from the above two I kept all other entries > to > > the default values and published the webproxy. > > > > > > Then when I tried to subscribe to the channel it > gave > > me a xml parcing exception, after that I made the > tidy > > on and republished, after that it doesnt show any > > errors but shows a blank screen. > > > > Can You let me know whats wrong in my setup. Are > there > > any additional entries that I need to setup while > > publishing this webproxy. > > > > That looks right to me, I would suggest checking the > various logs for > errors. > > > > > > Can you let me know how this dashboard-differnt to > the > > my exising way (providing a link to HC in a > channel) > > Does the dashboard-portlet got more security > > protection as it got differnt hand shake with > > uPortal-HC with the use of CasConnectionContext > and > > "command=Login" > > > > > > The handshake is the same either way; you don't need > the dashboard > portlet if you are manually putting links in other > content. > > > > > > In addition am getting the following error in > > catalina.out for the default simpleProject which > comes > > with the HC installations. Is there any way I can > > delete this project completely. This error comes > when > > I am publishing contents via > > webproxy(dashboard-portlet) > > > > > > You can just delete the directory "/projects/simple" > in the bootstrap > repository. I should have removed that from CVS a > long time ago, sorry! > > Cheers, > Alex > > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates (http://voice.yahoo.com) |
From: Alex V. <al...@bi...> - 2006-11-01 03:20:39
|
From: al...@bi... Subject: Re: [Hypercontent-users] CASIFY Hypercontent - issue Date: October 31, 2006 10:19:41 PM EST To: j_l...@ya... On Oct 31, 2006, at 9:28 PM, tom tom wrote: > I really dont know whether are there security holes or > not? but seems allright for me. To my understanding > even though u dont give the 'mode=login' in the link > still HC does the handshake as you mentioned above. > "mode=login" can be used to force an immediate login attempt, but does not alter the underlying protocol or security, and is not required. HC automatically redirects to CAS when a page needs authentication, so everything is secure. > > Without providing a link as above I followed one of > the feedback you sent it to me some time back,i.e > providing a webproxy for dashboard-portlet. > > I followed the following steps > > 1) I gave the following as the url > http://localhost:8080/hypercontent/index.xml?mode=dashboard- > portlet&command=Login > > 2) gave > edu.yale.its.tp.portal.security.CasConnectionContext > as the LocalConnectionContext. > > apart from the above two I kept all other entries to > the default values and published the webproxy. > > > Then when I tried to subscribe to the channel it gave > me a xml parcing exception, after that I made the tidy > on and republished, after that it doesnt show any > errors but shows a blank screen. > > Can You let me know whats wrong in my setup. Are there > any additional entries that I need to setup while > publishing this webproxy. > That looks right to me, I would suggest checking the various logs for errors. > > Can you let me know how this dashboard-differnt to the > my exising way (providing a link to HC in a channel) > Does the dashboard-portlet got more security > protection as it got differnt hand shake with > uPortal-HC with the use of CasConnectionContext and > "command=Login" > > The handshake is the same either way; you don't need the dashboard portlet if you are manually putting links in other content. > > In addition am getting the following error in > catalina.out for the default simpleProject which comes > with the HC installations. Is there any way I can > delete this project completely. This error comes when > I am publishing contents via > webproxy(dashboard-portlet) > > You can just delete the directory "/projects/simple" in the bootstrap repository. I should have removed that from CVS a long time ago, sorry! Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-11-01 02:28:21
|
Hi Alex, I got SSO working but differently though pls see my observations/doubts pls let me know if anything needs to be modified. > When the user logs into the portal via CAS, they are > also > establishing a session between their browser and the > CAS server. When > a link inside a portlet opens HyperContent in a new > window, if > authentication is required for that HC page, the > link has a parameter > "mode=login", or the user clicks "login" on the > page, they will be > redirected to the CAS server which, having already > established a > session with the user's browser, will automatically > redirect back to > HC with a ticket that HC can use to authenticate the > user without > seeing their password. The CAS authentication into > HC is invisible > to the user as long as their CAS session has not > expired since they > logged into the portal. > > In this mechanism, the portal is not passing any > information to > HyperContent about the user. Instead, CAS acts as a > trusted > authentication source for both uPortal and > HyperContent, and may only > require the user to enter their password once to > provide > authentication into both HC and UP. > Yes I do agree with this but what happened was I inserted the following HTML segment in one of the portlets within uPortal without the "mode=login" but still it (SSO) worked allright. <a href="http://localhost:8080/hypercontent/my-project/?mode=interactive" class="alt" target="x" id="blue" > Edit/Publish content</a> When I click the link it pops up a seperate window with the logged in mode (wihout need to enter userid and passswords) I really dont know whether are there security holes or not? but seems allright for me. To my understanding even though u dont give the 'mode=login' in the link still HC does the handshake as you mentioned above. Without providing a link as above I followed one of the feedback you sent it to me some time back,i.e providing a webproxy for dashboard-portlet. I followed the following steps 1) I gave the following as the url http://localhost:8080/hypercontent/index.xml?mode=dashboard-portlet&command=Login 2) gave edu.yale.its.tp.portal.security.CasConnectionContext as the LocalConnectionContext. apart from the above two I kept all other entries to the default values and published the webproxy. Then when I tried to subscribe to the channel it gave me a xml parcing exception, after that I made the tidy on and republished, after that it doesnt show any errors but shows a blank screen. Can You let me know whats wrong in my setup. Are there any additional entries that I need to setup while publishing this webproxy. Can you let me know how this dashboard-differnt to the my exising way (providing a link to HC in a channel) Does the dashboard-portlet got more security protection as it got differnt hand shake with uPortal-HC with the use of CasConnectionContext and "command=Login" In addition am getting the following error in catalina.out for the default simpleProject which comes with the HC installations. Is there any way I can delete this project completely. This error comes when I am publishing contents via webproxy(dashboard-portlet) TODO: I need to check the caslogout works as per the pipeline.xml Thanks __________________________________________________________________________________________ Check out the New Yahoo! Mail - Fire up a more powerful email and get things done faster. (http://advision.webevents.yahoo.com/mailbeta) |
From: Alex V. <al...@bi...> - 2006-10-31 04:23:33
|
On Oct 30, 2006, at 9:46 PM, tom tom wrote: > Hi Alex, > Thanks for your instructions I got lot of good news > this time. > > Well even though I casifed the HC, still I dont use > that feature as students retrieve,only the public read > only contents from HC via WebProxy. But still I am > keeping the casified HC hoping it will be useful for > the content editing part by authors. > > Do we really get any advantage by having a WebProxy > why not a inline frame for the above scenario (read > only access). IFrame is OK if you don't mind possibly seeing scollbars or empty vertical space, or losing URL state information on changing tabs. > > The above is the one which is not clear to me. Well I > was under the impression providing a link (html href) > ( e.g > http://localhost:8080/hypercontent/my-project/?mode=interactive) > for the authers and publishers in the uPortal channel > and ask them to login again as it does not carry any > credentials even though the authers/publishers logged > into uPortal via CAS. > >> With CAS working, >> though, the user >> will not have to login again when going from uPortal >> to HC. > > Assuming this user is a Auther/Publisher can you > explain what is meant by the above. When the user logs into the portal via CAS, they are also establishing a session between their browser and the CAS server. When a link inside a portlet opens HyperContent in a new window, if authentication is required for that HC page, the link has a parameter "mode=login", or the user clicks "login" on the page, they will be redirected to the CAS server which, having already established a session with the user's browser, will automatically redirect back to HC with a ticket that HC can use to authenticate the user without seeing their password. The CAS authentication into HC is invisible to the user as long as their CAS session has not expired since they logged into the portal. In this mechanism, the portal is not passing any information to HyperContent about the user. Instead, CAS acts as a trusted authentication source for both uPortal and HyperContent, and may only require the user to enter their password once to provide authentication into both HC and UP. > Now I made the HC cas enabled,it works fine,but what > about the logout, well I think now it should invoke > the cas/logout how to configure that. > I never did get around to trying this ;-) You may need to experiment in pipelines.xml - you'll want to set up the logout pipeline with something like <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> Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-10-31 02:46:36
|
Hi Alex, Thanks for your instructions I got lot of good news this time. Please see my comments below also the final doubts/questions that I have. > However it could be the application > is having a hard > time finding the appropriate jaas.properties; JAAS > relies on a system > property "java.security.auth.login.config" to > determine where to look > up the jaas config file - if you have more than one > webapp using JAAS > in your container, this could theoretically cause a > conflict. Since > you mentioned that you are also using JAAS to > configure CAS, I wonder > if this might be the issue. One way to check would > be to add your > HyperContent JAAS configuration block to the > jaas.properties you are > using for CAS to see if it can pick up the > configuration from there. Above was the reason for the conflict hence I copied HyperContent JAAS configuration block to my existing jaas configuration file. Now it is working fine. > Permissions do not get inherited from the bootstrap, > so you should > grant read access in permissions.xml for your new > project. Yes I did modified the permissions.xml accordingly, intention is without any authentication students should be able to see the contents. In order to achieve this via uPortal channel, I created a uPortal WebProxy (without passing any of the credentials) to HC resoure. This also working fine. I had to on the Tidy in uPortal. Well even though I casifed the HC, still I dont use that feature as students retrieve,only the public read only contents from HC via WebProxy. But still I am keeping the casified HC hoping it will be useful for the content editing part by authors. Do we really get any advantage by having a WebProxy why not a inline frame for the above scenario (read only access). > This is how both Columbia and Hull are using HC with > uPortal at the > moment - publishing web proxy channels, with links > from the HC > dashboard out to HC for editing. With CAS working, > though, the user > will not have to login again when going from uPortal > to HC. I think > the new portlet will open up some better integration > possibilities, > but certainly there are people today working > successfully in a web > proxied environment with the editing outside of the > portal. The above is the one which is not clear to me. Well I was under the impression providing a link (html href) ( e.g http://localhost:8080/hypercontent/my-project/?mode=interactive) for the authers and publishers in the uPortal channel and ask them to login again as it does not carry any credentials even though the authers/publishers logged into uPortal via CAS. I know via WebProxy we can pass credentials to HC but due to the limitations of HC we cant provide a WebProxy for content editing. Only posibility is to give a link inside a channel which will pop up a seperate Window with HC. In your explanation what is meant by the following. >With CAS working, > though, the user > will not have to login again when going from uPortal > to HC. Assuming this user is a Auther/Publisher can you explain what is meant by the above. Also what is meant by the 'dashboard' in your explanation. Is this the following http://localhost:8080/hypercontent/index.xml?mode=dashboard-portlet I executed the above url and it goes to the HC first page where it lists all the projects,it that what it supports to do. I am not clear on that. Now I made the HC cas enabled,it works fine,but what about the logout, well I think now it should invoke the cas/logout how to configure that. Hope you will clarify the final doubts that I have. ____________________________________________________________________________________ Get your email and see which of your friends are online - Right on the New Yahoo.com (http://www.yahoo.com/preview) |
From: Alex V. <al...@bi...> - 2006-10-30 13:26:50
|
On Oct 29, 2006, at 11:54 PM, tom tom wrote: > Hi Alex, > Thanks for the quick reply. > > I got the latest casclient.jar from svn which in > /cas-support/ as part of the instructions I did copy > this to the WEB-INF/lib directory. > > Currently I created a war file and deployed in Tomcat > as Tomcat got other projects. You may want to make sure that there is not a conflicting version of the casclient.jar in the tomcat shared or common lib. The reason I am focussing on the classpath is because your log contains this error message: javax.security.auth.login.LoginException: No LoginModules configured for HyperContent This indicates that when CAS redirects back to HyperContent to process the authentication ticket, login is failing because somehow HC did not recognize the configuration in jaas.properties. Since login is failing, the browser is being redirected back to CAS in an infinite loop. The jaas.properties you sent looks fine to me, so I suspected the application might be having some difficulty finding the CASLoginModule. However it could be the application is having a hard time finding the appropriate jaas.properties; JAAS relies on a system property "java.security.auth.login.config" to determine where to look up the jaas config file - if you have more than one webapp using JAAS in your container, this could theoretically cause a conflict. Since you mentioned that you are also using JAAS to configure CAS, I wonder if this might be the issue. One way to check would be to add your HyperContent JAAS configuration block to the jaas.properties you are using for CAS to see if it can pick up the configuration from there. > > Should I modify any other files like permissions.xml > or groups.xml for the newly created project. I am only > concern about the read access hence I am under the > impression everything get inherted from the bootstrap > project. Permissions do not get inherited from the bootstrap, so you should grant read access in permissions.xml for your new project. > > > Still am getting the same error. We are using CAS > 3.0.3 > > Let me know any other modifications required. > > > In addition to the all of above just want to know > whether this is possible in HC. > > In my newly created project can I give read access to > everybody without authentication. > That is student should be able to access/read internal > page without. By default I guess it asks for the > authentication details. There is a special group "group:anybody" to which you can grant read access in order to enable unauthenticated reads. > > If we can do the above, we are just wondering do we > really need SSO, because > > Due to the limitation of HC we cant have HC editing > facility as WebProxy within uPortal. Due to this > authers need to reenter their usernames and passwords > again. > > Considering everything what we can really do is > provide some webproxies for students (read only HC) so > that they dont need to login but can retrieve data. > And provide the content editing seperately (not > withing uPortal). even if you provide maximum it may > be a link in uPortal where authers might need to enter > their credentials again.l This is how both Columbia and Hull are using HC with uPortal at the moment - publishing web proxy channels, with links from the HC dashboard out to HC for editing. With CAS working, though, the user will not have to login again when going from uPortal to HC. I think the new portlet will open up some better integration possibilities, but certainly there are people today working successfully in a web proxied environment with the editing outside of the portal. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-10-30 04:54:10
|
Hi Alex, Thanks for the quick reply. I got the latest casclient.jar from svn which in /cas-support/ as part of the instructions I did copy this to the WEB-INF/lib directory. Currently I created a war file and deployed in Tomcat as Tomcat got other projects. Should I modify any other files like permissions.xml or groups.xml for the newly created project. I am only concern about the read access hence I am under the impression everything get inherted from the bootstrap project. Still am getting the same error. We are using CAS 3.0.3 Let me know any other modifications required. In addition to the all of above just want to know whether this is possible in HC. In my newly created project can I give read access to everybody without authentication. That is student should be able to access/read internal page without. By default I guess it asks for the authentication details. If we can do the above, we are just wondering do we really need SSO, because Due to the limitation of HC we cant have HC editing facility as WebProxy within uPortal. Due to this authers need to reenter their usernames and passwords again. Considering everything what we can really do is provide some webproxies for students (read only HC) so that they dont need to login but can retrieve data. And provide the content editing seperately (not withing uPortal). even if you provide maximum it may be a link in uPortal where authers might need to enter their credentials again.l Alex, let us know if our thought process is correct. But still we would like to sort it out our CAS issue. Thanks Thanks, --- Alex Vigdor <al...@bi...> wrote: > Make sure you have deployed cas-client.jar from the > /cas-support/ > directory into the WEB-INF/lib of HyperContent. The > cas-client.jar > from the official CAS site may not contain the JAAS > wrapper. > > Cheers, > Alex > > On Oct 29, 2006, at 8:32 PM, tom tom wrote: > > > Hi Alex, > > > > Thanks for the reply, I did further investigation, > > still I am at the casifying task (not touched > uPortal > > yet). I have listed all the information below. > > > > See my initial observations below ........... > > > > I did edit the pipelines.xml as per the > instructions > > in cas-support folder readme doc. Also I followed > all > > the instructions to casify the applications. > > > > It looks to me pipeline.xml works fine as when I > click > > my newly created project(myproject) it redirects > to > > the CAS login page. > > but when I enter user name and password(student > Id, > > and password) it does not redirected to the HC. So > far > > I have not edited any of the permissions.xml or > > groups.xml files those remains as it is. I am > under > > the impression even without that it should work > and > > can read contents. > > (I have only edited or modified > > > jaas.properties,hypercontent.properties,pipelines.xml,project- > > > definitions.xml > > files only.) > > > > > > The browser shows the following error. > > > > --------- > > The page isn't redirecting properly > > Firefox has detected that the server is > redirecting > > the request for this address in a way that will > never > > complete. > > * This problem can sometimes be caused by > > disabling or refusing to accept > > cookies. > > > > ------------- > > > > When I looked into the tomcat log file it shows > the > > following exception, I am getting such repeated > such > > exceptions. > > > > my jaas.properties look as follows > > > > HyperContent > > { > > edu.yale.its.tp.cas.client.jaas.CASLoginModule > > sufficient > > > cas_validate_url="https://localhost:8443/cas/serviceValidate"; > > > > }; > > > > let me know whats what is wrong in this setup > > > > > > tomcat log > > > > 2006-10-30 12:22:06,416 INFO > > [org.jasig.cas.CentralAuthenticationServiceImpl] - > > <Granted service ticket > [ST-2-AoGXke7hPRbj0SVbrMxn] > > for service > > [http://localhost:8080/hypercontent/my-project/? > > mode=login&passmode=&command=Login] > > for user [3686288]> > > 2006-10-30 12:22:06,444 ERROR > > [org.hypercontent.util.Logger] - <> > > javax.security.auth.login.LoginException: No > > LoginModules configured for HyperContent > > at > > > javax.security.auth.login.LoginContext.init(LoginContext.java:256) > > at > > > javax.security.auth.login.LoginContext.<init>(LoginContext.java:367) > > at > > > javax.security.auth.login.LoginContext.<init>(LoginContext.java:444) > > at > > > org.hypercontent.server.commands.Login.execute(Login.java:85) > > at > > > org.hypercontent.server.ContentServer.service(ContentServer.java:431) > > at > > org.hypercontent.servlet.CompositionServlet.doGet > > (CompositionServlet.java:104) > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > > (ApplicationFilterChain.java:252) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter > > > (ApplicationFilterChain.java:173) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke > > > (StandardWrapperValve.java:213) > > at > > > org.apache.catalina.core.StandardContextValve.invoke > > > (StandardContextValve.java:178) > > at > > org.apache.catalina.core.StandardHostValve.invoke > > (StandardHostValve.java:126) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke > > > (ErrorReportValve.java:105) > > at > > > org.apache.catalina.core.StandardEngineValve.invoke > > (StandardEngineValve.java:107) > > at > > > org.apache.catalina.connector.CoyoteAdapter.service > > (CoyoteAdapter.java:148) > > at > > org.apache.coyote.http11.Http11Processor.process > > (Http11Processor.java:868) > > at > > org.apache.coyote.http11.Http11BaseProtocol > > > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > > 663) > > at > > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > > > (PoolTcpEndpoint.java:527) > > at > > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > > (LeaderFollowerWorkerThread.java:80) > > at > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > > > (ThreadPool.java:684) > > at java.lang.Thread.run(Thread.java:595) > > > > > > > > More information.................... > > > > my pipeline.xml looks as follows > > > > <pipelines> > > <!-- login and logout pipelines can use > > RedirectStage to bounce to an external > authentication > > server > > a passthrough URL can be > constructed, > > such as > > > > > > > ${abs-project-base}${request-path}?mode=interactive&command=Logout > === message truncated === ____________________________________________________________________________________ Access over 1 million songs - Yahoo! Music Unlimited (http://music.yahoo.com/unlimited) |
From: Alex V. <al...@bi...> - 2006-10-30 03:37:49
|
Make sure you have deployed cas-client.jar from the /cas-support/ directory into the WEB-INF/lib of HyperContent. The cas-client.jar from the official CAS site may not contain the JAAS wrapper. Cheers, Alex On Oct 29, 2006, at 8:32 PM, tom tom wrote: > Hi Alex, > > Thanks for the reply, I did further investigation, > still I am at the casifying task (not touched uPortal > yet). I have listed all the information below. > > See my initial observations below ........... > > I did edit the pipelines.xml as per the instructions > in cas-support folder readme doc. Also I followed all > the instructions to casify the applications. > > It looks to me pipeline.xml works fine as when I click > my newly created project(myproject) it redirects to > the CAS login page. > but when I enter user name and password(student Id, > and password) it does not redirected to the HC. So far > I have not edited any of the permissions.xml or > groups.xml files those remains as it is. I am under > the impression even without that it should work and > can read contents. > (I have only edited or modified > jaas.properties,hypercontent.properties,pipelines.xml,project- > definitions.xml > files only.) > > > The browser shows the following error. > > --------- > The page isn't redirecting properly > Firefox has detected that the server is redirecting > the request for this address in a way that will never > complete. > * This problem can sometimes be caused by > disabling or refusing to accept > cookies. > > ------------- > > When I looked into the tomcat log file it shows the > following exception, I am getting such repeated such > exceptions. > > my jaas.properties look as follows > > HyperContent > { > edu.yale.its.tp.cas.client.jaas.CASLoginModule > sufficient > cas_validate_url="https://localhost:8443/cas/serviceValidate"; > > }; > > let me know whats what is wrong in this setup > > > tomcat log > > 2006-10-30 12:22:06,416 INFO > [org.jasig.cas.CentralAuthenticationServiceImpl] - > <Granted service ticket [ST-2-AoGXke7hPRbj0SVbrMxn] > for service > [http://localhost:8080/hypercontent/my-project/? > mode=login&passmode=&command=Login] > for user [3686288]> > 2006-10-30 12:22:06,444 ERROR > [org.hypercontent.util.Logger] - <> > javax.security.auth.login.LoginException: No > LoginModules configured for HyperContent > at > javax.security.auth.login.LoginContext.init(LoginContext.java:256) > at > javax.security.auth.login.LoginContext.<init>(LoginContext.java:367) > at > javax.security.auth.login.LoginContext.<init>(LoginContext.java:444) > at > org.hypercontent.server.commands.Login.execute(Login.java:85) > at > org.hypercontent.server.ContentServer.service(ContentServer.java:431) > at > org.hypercontent.servlet.CompositionServlet.doGet > (CompositionServlet.java:104) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter > (ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke > (StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke > (StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke > (StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke > (StandardEngineValve.java:107) > at > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:868) > at > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 663) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > > > > More information.................... > > my pipeline.xml looks as follows > > <pipelines> > <!-- login and logout pipelines can use > RedirectStage to bounce to an external authentication > server > a passthrough URL can be constructed, > such as > > > ${abs-project-base}${request-path}?mode=interactive&command=Logout > > see RedirectStage docs for a list of > all recognized variables > --> > <pipeline name="login-local" > mode="login-local" basedir="/" > content-type="text/html" binding="all"> > <exec > stage="org.hypercontent.project.engine.stage.XMLIncludeStage"/> > <exec > stage="org.hypercontent.project.engine.stage.XSLTransformStage"> > <with-param name="source" > value="/screens/login.xsl"/> > <with-param name="parms" > value="${request-parms}"/> > </exec> > </pipeline> > > <pipeline name="login" mode="login" > 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:8443/cas/login?service=${service}"/> > </exec> > </pipeline> > > <pipeline name="logout" mode="logout" > basedir="/" content-type="text/html" binding="all"> > <exec > stage="org.hypercontent.project.engine.stage.RedirectStage"> > <with-param name="location" > value="${abs-project-base}${request-path}?${request-parms} > &command=Logout"/> > </exec> > </pipeline> > > > > > > Thanks > > > > > > > > > > > > ______________________________________________________________________ > ______________ > Want to start your own business? Learn how on Yahoo! Small Business > (http://smallbusiness.yahoo.com) > |
From: tom t. <j_l...@ya...> - 2006-10-30 01:32:58
|
Hi Alex, Thanks for the reply, I did further investigation, still I am at the casifying task (not touched uPortal yet). I have listed all the information below. See my initial observations below ........... I did edit the pipelines.xml as per the instructions in cas-support folder readme doc. Also I followed all the instructions to casify the applications. It looks to me pipeline.xml works fine as when I click my newly created project(myproject) it redirects to the CAS login page. but when I enter user name and password(student Id, and password) it does not redirected to the HC. So far I have not edited any of the permissions.xml or groups.xml files those remains as it is. I am under the impression even without that it should work and can read contents. (I have only edited or modified jaas.properties,hypercontent.properties,pipelines.xml,project-definitions.xml files only.) The browser shows the following error. --------- The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. * This problem can sometimes be caused by disabling or refusing to accept cookies. ------------- When I looked into the tomcat log file it shows the following exception, I am getting such repeated such exceptions. my jaas.properties look as follows HyperContent { edu.yale.its.tp.cas.client.jaas.CASLoginModule sufficient cas_validate_url="https://localhost:8443/cas/serviceValidate"; }; let me know whats what is wrong in this setup tomcat log 2006-10-30 12:22:06,416 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-2-AoGXke7hPRbj0SVbrMxn] for service [http://localhost:8080/hypercontent/my-project/?mode=login&passmode=&command=Login] for user [3686288]> 2006-10-30 12:22:06,444 ERROR [org.hypercontent.util.Logger] - <> javax.security.auth.login.LoginException: No LoginModules configured for HyperContent at javax.security.auth.login.LoginContext.init(LoginContext.java:256) at javax.security.auth.login.LoginContext.<init>(LoginContext.java:367) at javax.security.auth.login.LoginContext.<init>(LoginContext.java:444) at org.hypercontent.server.commands.Login.execute(Login.java:85) at org.hypercontent.server.ContentServer.service(ContentServer.java:431) at org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) More information.................... my pipeline.xml looks as follows <pipelines> <!-- login and logout pipelines can use RedirectStage to bounce to an external authentication server a passthrough URL can be constructed, such as ${abs-project-base}${request-path}?mode=interactive&command=Logout see RedirectStage docs for a list of all recognized variables --> <pipeline name="login-local" mode="login-local" basedir="/" content-type="text/html" binding="all"> <exec stage="org.hypercontent.project.engine.stage.XMLIncludeStage"/> <exec stage="org.hypercontent.project.engine.stage.XSLTransformStage"> <with-param name="source" value="/screens/login.xsl"/> <with-param name="parms" value="${request-parms}"/> </exec> </pipeline> <pipeline name="login" mode="login" 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:8443/cas/login?service=${service}"/> </exec> </pipeline> <pipeline name="logout" mode="logout" basedir="/" content-type="text/html" binding="all"> <exec stage="org.hypercontent.project.engine.stage.RedirectStage"> <with-param name="location" value="${abs-project-base}${request-path}?${request-parms}&command=Logout"/> </exec> </pipeline> Thanks ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business (http://smallbusiness.yahoo.com) |
From: Alex V. <al...@bi...> - 2006-10-27 12:52:31
|
On Oct 27, 2006, at 2:22 AM, tom tom wrote: > Hi Alex, > > I download the latest from CVS and installed it. > Also I created a simple project definition and it is > working fine. > > After that I started the casifying.... > I started the CAS_READ_ME document in side cas-support > I followed all but doesnt seem to work. > > Well...we allready got CAS with some PAMs (JAAS). we > want to use the same authenication modules. we have a > seperate jaas.conf file(with all the PAMs listed) > similar to the jaas.properties in HC. Why are we > having jaas.properties in HC level. We do not have any > passwords in the application level. What is the > purpose of the > edu.yale.its.tp.cas.client.jaas.CASLoginModule, > How can I get around with this. I am bit confused > here. The CASLoginModule is just a JAAS plugin that allows HC to use the CAS client. You would not re-configure HC with any PAMs you are using for CAS; instead HC is configured with a single module to talk to the CAS server. Of course the password will never come near HC! The configuration of CasLoginModule in jaas.properties effectively plugs the CAS client into HC, but you still need to change the login pipeline so that instead of seeing the HC built-in authentication screen, the user is redirected to CAS. This is where the pipelines.xml fragment comes in: <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> As you notice, the last stage executed redirects the user to CAS. So if you are still seeing the HC login screen, your problem is here in the pipeline configuration. The above snippet is what you should find in pipelines.xml: as the directions say, you need to change the "name" attribute for this block to "login", and change the name of the existing login pipeline to something else like "login-local". I suggest you focus your attention here - when your pipelines are properly configured, clicking "login" should take you to CAS! If you login to CAS but are not then successfully logged into HC, then the JAAS configuration should be examined further. > > Some of the content authors we can put inside the > existing group structure but not their passwords > within HC, but what about the online students login to > the system. uPortal we did this easily as part of the > CAS authentication we filled the template and sent > back to the uPortal (IPerson object). So that they get > listed automatically inside the group. How can we > achieve those in HC. HC currently does not support population of groups from LDAP or CAS responses. This would be a benefit of moving towards GAP and PersonDirectory in the future. However, if your objective is to provide students with read access, you can simply grant read access in HC to "group:anybody", of which everyone is automatically a member, and use the uPortal portlet publishing permissions to narrow down the target audience per portlet. > > > When it comes to the Portlet, hope you are trying to > achieve the portlet modes to facilitate HC view and > edit modes etc. Yes, this is the requirement. > but apart from that why cant we have a tab (WebProxy) > which points to HC for authers and to edit the > content. > > That means there are some webproxies to render the > contents (e..g for students) which have been edited by > authers in the other WebProxy. In theory this is a good idea, but in practice the standard HC editing screens simply don't work via WebProxy. Without the portlet, your best option is to publish the dashboard as a way for content authors to link from the portal into HC in a separate window for authoring. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-10-27 06:22:54
|
Hi Alex, I download the latest from CVS and installed it. Also I created a simple project definition and it is working fine. After that I started the casifying.... I started the CAS_READ_ME document in side cas-support I followed all but doesnt seem to work. Well...we allready got CAS with some PAMs (JAAS). we want to use the same authenication modules. we have a seperate jaas.conf file(with all the PAMs listed) similar to the jaas.properties in HC. Why are we having jaas.properties in HC level. We do not have any passwords in the application level. What is the purpose of the edu.yale.its.tp.cas.client.jaas.CASLoginModule, How can I get around with this. I am bit confused here. Some of the content authors we can put inside the existing group structure but not their passwords within HC, but what about the online students login to the system. uPortal we did this easily as part of the CAS authentication we filled the template and sent back to the uPortal (IPerson object). So that they get listed automatically inside the group. How can we achieve those in HC. When it comes to the Portlet, hope you are trying to achieve the portlet modes to facilitate HC view and edit modes etc. but apart from that why cant we have a tab (WebProxy) which points to HC for authers and to edit the content. That means there are some webproxies to render the contents (e..g for students) which have been edited by authers in the other WebProxy. Alex, Let me know whether our direction is wrong. Thanks --- Alex Vigdor <al...@bi...> wrote: > > On Oct 26, 2006, at 7:48 PM, tom tom wrote: > > > Thanks Alex, > > > > I did not see your response in the forum > > > (http://sourceforge.net/mailarchive/forum.php?forum_id=38700) > > hence I resent the question, sorry for the > > inconvenience. > > No problem! > > > > > Can you let me know the following. > > > > 1) From where can I download the latest > Hypercontent > > from CVS, URL? > > Instructions for CVS access are here > > http://sourceforge.net/cvs/?group_id=101745 > > > > > 2)What about the authorization. Currently I do use > the > > group model in uPortal, > > > > What am looking for is to introduce the WebProxy > > channel which renders Hypercontent pages, normal > > students will see the pages as if pages served > from > > uPortal but publishers (staff) should be able to > edit > > the content via uPortal WebProxy channel. If the > > uPortal group structure is not incooperated with > > Hypercontent, how can I achiveve the above two > > functionalities for students and > publishshers/content > > editors > > The groups and permissions structure in HyperContent > are analogous to > but separate from uPortal. Here's some info: > > http://hypercontent.sourceforge.net/help/project/permissions.html > > > > > 3)Any reason to introduce this JSR 168 portlet, > found > > any issues with WebProxy? anyway are there any > > instructions to deploy the Portlet, > > You'll need the portlet version if you want users to > be able to edit > inside the portal. This is working, at least the > XML editor, I still > have to tweak the others. > > There are no portlet deployment instructions online > yet, but its > simple enough. The portlet.xml file under > /webapp/WEB-INF in CVS has > some sample portlet configurations; you'll need to > define one portlet > in that file per portlet you want to publish from HC > into uPortal. > This is due to an unfortunate and known bug in > uPortal. The path to > render can be configured in the portlet.xml or as a > channel > publishing parameter via the uPortal publishing UI, > but each portlet > has to have a unique name in portlet.xml in order > for the portal to > recognize them. You then would follow the standard > portlet > publishing workflow, using the name for each portlet > you define in > the xml file. Deployment is simply a matter of > zipping up the webapp > directory and feeding it to the uPortal > "deployPortletApp" ant > target. You should point the "path" preference or > parameter to an > output you've configured for your XML files that > generates markup > with relative paths and portlet styles. The portlet > automatically > rewrites links, images, and scripts, like WebProxy > does. You click > the edit channel icon in uPortal to kick into edit > mode, which gives > you a miniaturized version of the regular HC UI, > where you can switch > between live preview and editing. > > The advantages of this approach over WebProxy are > mostly theoretical > at this point, until further tuning is performed. > But by eliminating > the HTTP bottleneck and leveraging HCs more > sophisticated caching, it > should be possible to scale as well or better than > web proxy. > > Cheers, > Alex > > > ------------------------------------------------------------------------- > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-10-27 03:32:33
|
On Oct 26, 2006, at 7:48 PM, tom tom wrote: > Thanks Alex, > > I did not see your response in the forum > (http://sourceforge.net/mailarchive/forum.php?forum_id=38700) > hence I resent the question, sorry for the > inconvenience. No problem! > > Can you let me know the following. > > 1) From where can I download the latest Hypercontent > from CVS, URL? Instructions for CVS access are here http://sourceforge.net/cvs/?group_id=101745 > > 2)What about the authorization. Currently I do use the > group model in uPortal, > > What am looking for is to introduce the WebProxy > channel which renders Hypercontent pages, normal > students will see the pages as if pages served from > uPortal but publishers (staff) should be able to edit > the content via uPortal WebProxy channel. If the > uPortal group structure is not incooperated with > Hypercontent, how can I achiveve the above two > functionalities for students and publishshers/content > editors The groups and permissions structure in HyperContent are analogous to but separate from uPortal. Here's some info: http://hypercontent.sourceforge.net/help/project/permissions.html > > 3)Any reason to introduce this JSR 168 portlet, found > any issues with WebProxy? anyway are there any > instructions to deploy the Portlet, You'll need the portlet version if you want users to be able to edit inside the portal. This is working, at least the XML editor, I still have to tweak the others. There are no portlet deployment instructions online yet, but its simple enough. The portlet.xml file under /webapp/WEB-INF in CVS has some sample portlet configurations; you'll need to define one portlet in that file per portlet you want to publish from HC into uPortal. This is due to an unfortunate and known bug in uPortal. The path to render can be configured in the portlet.xml or as a channel publishing parameter via the uPortal publishing UI, but each portlet has to have a unique name in portlet.xml in order for the portal to recognize them. You then would follow the standard portlet publishing workflow, using the name for each portlet you define in the xml file. Deployment is simply a matter of zipping up the webapp directory and feeding it to the uPortal "deployPortletApp" ant target. You should point the "path" preference or parameter to an output you've configured for your XML files that generates markup with relative paths and portlet styles. The portlet automatically rewrites links, images, and scripts, like WebProxy does. You click the edit channel icon in uPortal to kick into edit mode, which gives you a miniaturized version of the regular HC UI, where you can switch between live preview and editing. The advantages of this approach over WebProxy are mostly theoretical at this point, until further tuning is performed. But by eliminating the HTTP bottleneck and leveraging HCs more sophisticated caching, it should be possible to scale as well or better than web proxy. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-10-26 23:48:41
|
Thanks Alex, I did not see your response in the forum (http://sourceforge.net/mailarchive/forum.php?forum_id=38700) hence I resent the question, sorry for the inconvenience. Can you let me know the following. 1) From where can I download the latest Hypercontent from CVS, URL? 2)What about the authorization. Currently I do use the group model in uPortal, What am looking for is to introduce the WebProxy channel which renders Hypercontent pages, normal students will see the pages as if pages served from uPortal but publishers (staff) should be able to edit the content via uPortal WebProxy channel. If the uPortal group structure is not incooperated with Hypercontent, how can I achiveve the above two functionalities for students and publishshers/content editors 3)Any reason to introduce this JSR 168 portlet, found any issues with WebProxy? anyway are there any instructions to deploy the Portlet, Thanks --- Alex Vigdor <al...@bi...> wrote: > 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 > > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: tom t. <j_l...@ya...> - 2006-10-26 23:27:40
|
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". If I somehow manage casify Hypercontent with CAS, What about the authorization. Currently I do use the group model in uPortal, What am looking for is to introduce the WebProxy channel which renders Hypercontent pages, normal students will see the pages as if pages served from uPortal but publishers (staff) should be able to edit the content via uPortal WebProxy channel. Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
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 > |