Re: [Hypercontent-users] CASIFY Hypercontent - issue
Brought to you by:
alexvigdor
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) |