Thanks a lot Nick. I'm just stating few points to make sure I'm not doing something silly.
There is only one connection configured in the mysql table which works perfectly fine standalone. When there are no connections available and I'm using CAS in conjunction with the jdbc the the error I said occurs. Essentially the error I previously stated occurs whenever I successfully authenticate. Also this should not matter but the cas login I use is my university login which is integrated with DUO for MFA. I do understand that removing JDBC leaves the CAS useless as no connection parameters are present. I did it for testing if the issue was with jdbc. Thanks again for taking a look at this. I'll keep trying and inform you of any development. Have a nice night. Regards Kaushik Srinivasan On Sun, Jul 16, 2017 at 11:13 PM, Nicholas Couchman < [email protected]> wrote: > I will take a look at the CAS module tomorrow and see if I can reproduce > the error you're getting in the log file. > > However, keep in mind the following things: > - As Mike pointed out, the auto-redirect to a connection only happens if a > user has 1 and only 1 connection available. If there is more than one > available the user will be redirected to the home screen. If there are > none available the user is also redirected to the home screen. > - If you remove the JDBC module and only use CAS, then you probably do not > have any connections available to the user, unless you configure one in the > XML file that the default file authentication extension reads from. > > -Nick > > > On Jul 16, 2017, at 23:01, Kaushik Srinivasan <[email protected]> > wrote: > > > > Hi Mike, > > > > Regarding redirection after CAS authentication, just to test I removed > the > > jdbc extension and launched the application. After CAS authentication the > > same error (as I've previously shown) is thrown which makes me think > > there's something up with CAS module. > > > > Yes, I'm using 0.9.13 for everything. MySQL extension, schema, CAS, Guac > > client, server, all are retrieved from github. > > > > Thanks. > > > > Regards > > Kaushik > > > > On Sun, Jul 16, 2017 at 10:55 PM, Mike Jumper <[email protected]> > > wrote: > > > >> On Sun, Jul 16, 2017 at 7:49 PM, Kaushik Srinivasan < > [email protected] > >>> > >> wrote: > >> > >>> Hi All, > >>> > >>> I have tried using the guacamole-auth-cas with 0.9.13 as suggested. I > >>> further used jdbc connection (mysql) for connection properties. > >>> > >>> The CAS authentication works now > >> > >> > >> Excellent. > >> > >> > >>> but does not redirect to my connection > >>> after that. > >> > >> > >> That is actually independent of the CAS authentication, and is driven > >> purely by the number of connections available. If only one connection is > >> present, you should be redirected to that connection upon login. > >> > >> If you're not seeing any connections whatsoever, then something else is > >> amiss. > >> > >> I verified that the jdbc connection works independently ( by > >>> removing auth-cas extension). Also the username returned from auth-cas > is > >>> the same as the username I have stored in the mysql table. > >>> > >>> > >> You're using 0.9.13-incubating-RC1 across the board, now, correct? > >> Including the MySQL extension and the schema script that you used to > create > >> the MySQL database? > >> > >> - Mike > >> > >
