CAS 6.0.5.1 and RADIUS Auth.

36 views
Skip to first unread message

Colin Ryan

unread,
Oct 23, 2019, 3:14:34 PM10/23/19
to cas-...@apereo.org
Folks,

Somewhat new to CAS, last time I looked at it was a number of years back with 3.x.

I’m trying to build the 6.0.5.1 builds using the Gradle Overlay with RADIUS Auth support.

I’ve gotten both CAS and CAS-Management to work fine using LDAP Auth, and JSON services Registry.

But when I move on the try using RADIUS I run into repository errors with the jradius resources and even when I ran across reference to “add jitpack.io” per their instructions for adding the “maven” and “implementation” directives into the build.gradle file it dies on getopt errors….

I’m fairly experienced with Java, but Maven/Gradle usage I’m not the most experienced at.

When I look at the build.gradle of the CAS source I seem to see an directive in there that switches from using standard getopt libraries to java-getopt but since the overlay just pulls that I’m not sure if that is doing anything, is a red herring or whatever.

To get to this point I git cloned the cas-overlay project on the 6.0 branch, then changed the cas.version in gradle.properties to 6.0.5.1 and built.

Any suggestions, I understand it’s a repository/dependency issue but since much of the gradle stuff is so dynamic it’s hard for me to figure out how to override project defaults etc etc.

Thank you

Colin Ryan 

Misagh Moayyed

unread,
Oct 29, 2019, 6:25:07 AM10/29/19
to CAS Community


When I look at the build.gradle of the CAS source I seem to see an directive in there that switches from using standard getopt libraries to java-getopt but since the overlay just pulls that I’m not sure if that is doing anything, is a red herring or whatever.

You likely need to apply the same *trick*. JRadius does not publish artifacts to a repository and the things it depends on are generally outdated or replaced. Following the same approach in your overlay should do the trick.

Andy Ng

unread,
Nov 6, 2019, 3:14:03 AM11/6/19
to CAS Community
Hi all,

Have encounter the same issue with CAS 6.1.x.

I have make my CAS to build with Radius Authentication by including the following url for repositoryies:

I am also not very sure if this is an appropriate fix.. but it works for me

- Andy
Reply all
Reply to author
Forward
0 new messages