Hi all! I’m evaluating CAS, trying to get it hooked up to my users database which lives on aws.
I’m using https://github.com/Jasig/cas/wiki/Configuring-Authentication-Components as the primary docs to help me with this – please let me know if there’s something better out there. In particular, this doc doesn’t mention anything about configuring dataSources that I could find, and for that I’m using an outdated doc (see below) Right now I’m stuck as to how to hook it up to mysql via ssh tunneling. Is this even supported by CAS? Editing deployerConfigContext.xml, my first try is something like this, borrowing from https://wiki.jasig.org/display/CASUM/Using+JDBC+for+Authentication <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName"> <value>com.mysql.jdbc.Driver</value> </property> <property name="url"> <value>jdbc:mysql://hfa-dev.[CENSORED].us-east-1.rds.amazonaws.com:3306/users_cleanup</value> </property> <property name="username"> <value>[CENSORED]</value> </property> <property name="password"> <value>[CENSORED]</value> </property> </bean> Any clues, pointers in the right direction, and general advice is appreciated! Thanks, Phil From: Chris Cheltenham <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, April 23, 2015 at 10:25 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: [cas-user] CAS 4.0.1 Restful Implementation not working Gentlemen, Was there a problem using CAS 3.5.2 and mod_authnz_ldap? Thank You, Chris Cheltenham SwainTechs / HHS Cell# 267-586-2369 From: Paul Brzek [mailto:[email protected]] Sent: Thursday, April 23, 2015 10:18 AM To: [email protected]<mailto:[email protected]> Subject: Re: [cas-user] CAS 4.0.1 Restful Implementation not working All, Thanks for the reply. I took the advice and moved to 4.1, however when I try to access the REST url, using the setup described in documentation, I get an 302 redirect to the standard login page. Any ideas as to how to resolve it? Thanks, Paul On Wed, Apr 22, 2015 at 5:25 PM, Dmitriy Kopylenko <[email protected]<mailto:[email protected]>> wrote: I just want to also add awareness - if anyone is stuck on CAS 3.5.x and use REST API with the same security filter which brakes the Restlet implementation, there is an addon module that you could swap in place of Restlet and enjoy the same, modern REST impl. that users of CAS 4.1 will enjoy (when CAS 4.1 finally gets released): https://github.com/unicon-cas-addons/cas35-addon-rest Best, Dmitriy. On Wed, Apr 22, 2015 at 5:14 PM, Misagh Moayyed <[email protected]<mailto:[email protected]>> wrote: Does this help? https://github.com/Jasig/cas/issues/886 On Apr 23, 2015, at 1:21 AM, Paul Brzek <[email protected]<mailto:[email protected]>> wrote: Hi, While I was able to configure the implementation of CAS 4.0.1 utilizing the LDAP, I am running into an issue when I try to implement REST Protocol based on the official documentation. It appears that my credentials are coming over as null for the username and password when a TGT information is requested. Has anyone experienced the same issue and was able to resolve it, and if so could you post the solution? Here is my setting for the REST implementation: web.xml <servlet> <servlet-name>restlet</servlet-name> <servlet-class>org.restlet.ext.spring.RestletFrameworkServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>restlet</servlet-name> <url-pattern>/v1/*</url-pattern> </servlet-mapping> Thanks, Paul -- You are currently subscribed to [email protected]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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]<mailto:[email protected]> as: [email protected]<mailto:[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
