Hi Kristen. You don’t need to clone and build the entire CAS source tree in order to use CAS. Instead, the Maven war overlay method is the recommended approach. Try following this document: http://jasig.github.io/cas/current/installation/Maven-Overlay-Installation.html
Best, Dmitriy. On Feb 4, 2014, at 3:04 PM, Kristen Walker <[email protected]> wrote: > Hi All, > > I am brand new to CAS and trying to set up my first CAS server. I downloaded > 3.5.2, made adjustments to deployerConfigContext.xml and pom.xml, then run " > mvn clean package." > > I am getting a build failure because of errors in the OAUTH tests.: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Jasig Central Authentication Service .............. SUCCESS [7.342s] > [INFO] Jasig CAS Core .................................... SUCCESS > [2:25.316s] > [INFO] Jasig CAS Web Application ......................... SUCCESS [33.274s] > [INFO] Jasig CAS Generic Support ......................... SUCCESS [7.023s] > [INFO] Jasig CAS JDBC Support ............................ SUCCESS [3.385s] > [INFO] Jasig CAS LDAP Support ............................ SUCCESS [15.001s] > [INFO] Jasig CAS Legacy Support .......................... SUCCESS [6.807s] > [INFO] Jasig CAS OpenId Support .......................... SUCCESS [14.293s] > [INFO] Jasig CAS RADIUS Support .......................... SUCCESS [4.304s] > [INFO] Jasig CAS SPNEGO/NTLM Support ..................... SUCCESS [8.064s] > [INFO] Jasig CAS Trusted User Support .................... SUCCESS [7.708s] > [INFO] Jasig CAS X.509 Client Certificate Support ........ SUCCESS [17.430s] > [INFO] Jasig CAS OAuth Support ........................... FAILURE [14.621s] > [INFO] Jasig CAS JBoss Cache Integration ................. SKIPPED > [INFO] Jasig CAS Memcached Integration ................... SKIPPED > [INFO] Jasig CAS Ehcache Integration ..................... SKIPPED > [INFO] Jasig CAS Restlet Integration ..................... SKIPPED > [INFO] Jasig CAS - Uber WAR .............................. SKIPPED > [INFO] Jasig CAS Documentation ........................... SKIPPED > [INFO] Jasig CAS ClearPass Extension ..................... SKIPPED > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.jasig.cas.support.oauth.web.OAuth20AccessTokenControllerTests > Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.601 sec > Running > org.jasig.cas.support.oauth.web.OAuth20CallbackAuthorizeControllerTests > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec > Running org.jasig.cas.support.oauth.web.OAuth20ProfileControllerTests > Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.111 sec > Running org.jasig.cas.support.oauth.web.OAuth20AuthorizeControllerTests > Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec > Running org.jasig.cas.support.oauth.web.OAuth20WrapperControllerTests > cas-server-support-oauth 2014/02/04 11:49:03,235 ERROR [main] > org.jasig.cas.support.oauth.web.BaseOAuthWrapperController - Unknown method > : wrongmethod > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 sec > Running org.jasig.cas.support.oauth.web.flow.OAuthActionTests > cas-server-support-oauth 2014/02/04 11:49:03,753 ERROR [main] > org.scribe.up.provider.BaseOAuth20Provider - Possible threat of Cross-site > Request Forgery. > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.533 sec > Running org.jasig.cas.support.oauth.web.OAuth10LoginControllerTests > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.951 sec > <<< FAILURE! > > > Sorry if this is vague or something completely obvious. I am very new to > CAS. Any help would be much appreciated! > > Thanks, > Kristen > > -- > Kristen Walker > Digital Media Resources Developer > Educational Technology Services > Santa Barbara County Education Office > (805) 964-4711 x 5244 > Twitter: @kwalkersb > [email protected] > http://www.sbceoportal.org > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
