|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
CAS Java Client 3.1.3 Confluence ConfigurationHello,
I am trying to setup CAS authentication for our Confluence instance using the CAS Java Client 3.1.3 following these instructions http://www.ja-sig.org/wiki/x/gwHP. Has anyone else been able to get this to work following those instructions? Are the instructions complete? This is what I have done so far:
I have been using the Soulwing CAS Client for Confluence successfully for some time now, but I thought I would give the new CAS Java Client a try. Any tips would be appreciated, also I am curious to know if anybody is actually using the CAS Java Client with Confluence. Thanks, Parker _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: CAS Java Client 3.1.3 Confluence ConfigurationParker,
It just came out so I doubt anyone is using it ;-) That said, I had downloaded the stock Confluence demo and managed to CASify that. I'm not sure how much that differs from your own instance. It looks like however, that the actual url to redirect to needs to be configured. Did I forget that step in the documentation? It looks like I did. I can't remember off the top of my head where Confluence stores that url. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Thu, Jun 19, 2008 at 12:38 PM, Parker Grimes <grimesp@...> wrote: Hello, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: CAS Java Client 3.1.3 Confluence ConfigurationWe have a stock Confluence 2.7.1 install. I would be happy to test things out and contribute to the documentation if I knew what you were talking about regarding the url:)
Parker On Thu, Jun 19, 2008 at 2:03 PM, Scott Battaglia <scott.battaglia@...> wrote: Parker, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: CAS Java Client 3.1.3 Confluence ConfigurationI can't recall off the top of my head, but in the seraph-config.xml you may need to change this:
<init-param> <param-name>login.url</param-name> <param-value>/login.action?os_destination=${originalurl}</param-value> </init-param> to something like <init-param> <param-name>login.url</param-name> <param-value>https://localhost:/8443/cas/login?service==${originalurl}</param-value> </init-param> -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Fri, Jun 20, 2008 at 10:15 AM, Parker Grimes <grimesp@...> wrote: We have a stock Confluence 2.7.1 install. I would be happy to test things out and contribute to the documentation if I knew what you were talking about regarding the url:) _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
"mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time.I have a fresh download from
$ svn checkout https://www.ja-sig.org/svn/cas3/trunk cas3 I've installed maven 2... I'm pretty sure its working probably since I can run "mvn --version" from anywhere and it gives me... Maven version: 2.0.9 Java version: 1.5.0_08 OS name: "linux" version: "2.6.18-8.el5pae" arch: "i386" Family: "unix" I ran the SVN command in /usr/src/cas3 so in /usr/src/cas3/ I run "mvn package install" and I get these errors on the tests... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.jasig.cas.util.DefaultUniqueTicketIdGeneratorTests Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec Running org.jasig.cas.web.LogoutControllerTests Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.218 sec <<< FAILURE! Running org.jasig.cas.authentication.ImmutableAuthenticationTests Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.jasig.cas.remoting.server.RemoteCentralAuthenticationServiceTests Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.101 sec <<< FAILURE! Running org.jasig.cas.ticket.TicketCreationExceptionTests Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running org.jasig.cas.CentralAuthenticationServiceImplTests Tests run: 19, Failures: 0, Errors: 19, Skipped: 0, Time elapsed: 0.166 sec <<< FAILURE! Running org.jasig.cas.services.JpaServiceRegistryDaoImplTests org.apache.maven.surefire.booter.SurefireExecutionException: org/ springframework/core/DecoratingClassLoader; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/ DecoratingClassLoader java.lang.NoClassDefFoundError: org/springframework/core/ DecoratingClassLoader at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.getMethod0(Class.java:2642) at java.lang.Class.getMethod(Class.java:1579) at org .apache .maven .surefire .junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java:176) at org .apache .maven .surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:140) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java: 197) at org .apache .maven .surefire .suite .AbstractDirectoryTestSuite .executeTestSet(AbstractDirectoryTestSuite.java:140) at org .apache .maven .surefire .suite .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache .maven .surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java: 338) at org .apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java: 997) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /usr/src/cas3/cas3/trunk/cas-server-core/target/ surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17 seconds [INFO] Finished at: Fri Jun 20 14:24:15 EDT 2008 [INFO] Final Memory: 18M/39M [INFO] ------------------------------------------------------------------------ Thoughts? Thanks ] duran goodyear ] web developer ] administrative computing // office of information services // the university of the arts ] dgoodyear@... ] 215.717.6068 ] skype://duran.goodyear _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: "mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time.Duran,
Its a classloading issue (wasn't Maven supposed to solve all that? ;-)). For some reason there are multiple versions of the same file. If you define a classpath then make sure it doesn't include any Spring stuff. You may wish to also try "mvn clean" first. If it still doesn't work I'll have to try a clean checkout on my machine. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Fri, Jun 20, 2008 at 2:33 PM, Duran Goodyear <dgoodyear@...> wrote: I have a fresh download from _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
RE: "mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time.Thanks, I'll rm -rf my ../cas3 directory, do a fresh download and try "mvn clean" first.
I did NOT define any class paths, and followed the instructions found on the CAS wiki. I'm more then willing to admit I can't read if I missed something ;) Thanks! ] duran goodyear ] web developer ] administrative computing // office of information technology ] the university of the arts ] dgoodyear@... ] 215.717.6068 ] skype://duran.goodyear -----Original Message----- From: cas-bounces@... [mailto:cas-bounces@...] On Behalf Of Scott Battaglia Sent: Friday, June 20, 2008 2:44 PM To: Yale CAS mailing list Subject: Re: "mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time. Duran, Its a classloading issue (wasn't Maven supposed to solve all that? ;-)). For some reason there are multiple versions of the same file. If you define a classpath then make sure it doesn't include any Spring stuff. You may wish to also try "mvn clean" first. If it still doesn't work I'll have to try a clean checkout on my machine. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Fri, Jun 20, 2008 at 2:33 PM, Duran Goodyear <dgoodyear@...> wrote: I have a fresh download from $ svn checkout https://www.ja-sig.org/svn/cas3/trunk cas3 I've installed maven 2... I'm pretty sure its working probably since I can run "mvn --version" from anywhere and it gives me... Maven version: 2.0.9 Java version: 1.5.0_08 OS name: "linux" version: "2.6.18-8.el5pae" arch: "i386" Family: "unix" I ran the SVN command in /usr/src/cas3 so in /usr/src/cas3/ I run "mvn package install" and I get these errors on the tests... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.jasig.cas.util.DefaultUniqueTicketIdGeneratorTests Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec Running org.jasig.cas.web.LogoutControllerTests Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.218 sec <<< FAILURE! Running org.jasig.cas.authentication.ImmutableAuthenticationTests Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec Running org.jasig.cas.remoting.server.RemoteCentralAuthenticationServiceTests Tests run: 11, Failures: 0, Errors: 11, Skipped: 0, Time elapsed: 0.101 sec <<< FAILURE! Running org.jasig.cas.ticket.TicketCreationExceptionTests Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec Running org.jasig.cas.CentralAuthenticationServiceImplTests Tests run: 19, Failures: 0, Errors: 19, Skipped: 0, Time elapsed: 0.166 sec <<< FAILURE! Running org.jasig.cas.services.JpaServiceRegistryDaoImplTests org.apache.maven.surefire.booter.SurefireExecutionException: org/ springframework/core/DecoratingClassLoader; nested exception is java.lang.NoClassDefFoundError: org/springframework/core/ DecoratingClassLoader java.lang.NoClassDefFoundError: org/springframework/core/ DecoratingClassLoader at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 319) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.getMethod0(Class.java:2642) at java.lang.Class.getMethod(Class.java:1579) at org .apache .maven .surefire .junit.JUnitTestSet.createInstanceFromSuiteMethod(JUnitTestSet.java:176) at org .apache .maven .surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:140) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java: 197) at org .apache .maven .surefire .suite .AbstractDirectoryTestSuite .executeTestSet(AbstractDirectoryTestSuite.java:140) at org .apache .maven .surefire .suite .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun .reflect .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:585) at org .apache .maven .surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java: 338) at org .apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java: 997) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Please refer to /usr/src/cas3/cas3/trunk/cas-server-core/target/ surefire-reports for the individual test results. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17 seconds [INFO] Finished at: Fri Jun 20 14:24:15 EDT 2008 [INFO] Final Memory: 18M/39M [INFO] ------------------------------------------------------------------------ Thoughts? Thanks ] duran goodyear ] web developer ] administrative computing // office of information services // the university of the arts ] dgoodyear@... ] 215.717.6068 ] skype://duran.goodyear _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: "mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time.'mvn clean' produced a successful build. being simply ignorant of maven, is that enough to start running the jar from tomcat? after seeing the mvn clean success I ran mvn package install, and it failed the same way again. Thanks in advance. - duran On Jun 20, 2008, at 2:43 PM, Scott Battaglia wrote: Duran, _______________________________________________ Yale CAS mailing list cas@... http://tp.its.yale.edu/mailman/listinfo/cas |
|
|
Re: "mvn package install" failure after fresh SVN download of source. Just trying to get it running for the first time.If you just do "mvn clean" you shouldn't need to rm -rf. But it won't hurt. ;-) -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Fri, Jun 20, 2008 at 2:59 PM, Goodyear, Duran <DGoodyear@...> wrote: Thanks, I'll rm -rf my ../cas3 directory, do a fresh download and try "mvn clean" first. |