CAS 6.4.4 - bcprov 1.6.9 missing DERObjectIdentifier for radius

120 views
Skip to first unread message

Jeffrey Ramsay

unread,
Dec 12, 2021, 12:16:25 PM12/12/21
to CAS Developer
Hello -

I am running a new build of CAS 6.4.4 and everything appeared to have compiled correctly, however, I was getting an error with the radius module as shown below because the library bcprov-jdk15on-1.69.jar used in this build is missing the DERObjectIdentifier class. I downgraded to "bcprov-jdk15on-1.66.jar" which resolved the issue but should probably be addressed by the developer for anyone wanting to use the radius modules.

2021-12-12 11:40:15,539 ERROR [org.springframework.boot.web.servlet.support.ErrorPageFilter] - <Forwarding to error page from request [/login] due to exception [org/bouncycastle/asn1/DERObjectIdentifier]>
java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERObjectIdentifier
        at java.lang.Class.forName0(Native Method) ~[?:?]
        at java.lang.Class.forName(Class.java:315) ~[?:?]
        at net.jradius.client.RadiusClient.registerAuthenticator(RadiusClient.java:189) ~[jradius-core-1.1.5.jar:?]
        at net.jradius.client.RadiusClient.<clinit>(RadiusClient.java:82) ~[jradius-core-1.1.5.jar:?]
        at org.apereo.cas.adaptors.radius.RadiusClientFactory.newInstance(RadiusClientFactory.java:69) ~[cas-server-support-radius-core-6.4.4.jar:6.4.4]
        at org.apereo.cas.adaptors.radius.server.AbstractRadiusServer.authenticate(AbstractRadiusServer.java:111) ~[cas-server-support-radius-core-6.4.4.jar:6.4.4]
        at org.apereo.cas.adaptors.radius.RadiusServer.authenticate(RadiusServer.java:39) ~[cas-server-support-radius-core-6.4.4.jar:6.4.4]
        at org.apereo.cas.adaptors.radius.authentication.RadiusMultifactorAuthenticationProvider.canPing(RadiusMultifactorAuthenticationProvider.java:59) ~[cas-server-support-radius-core-mfa-6.4.4.jar:6.4.4]
        at org.apereo.cas.adaptors.radius.authentication.RadiusMultifactorAuthenticationProvider.isAvailable(RadiusMultifactorAuthenticationProvider.java:40) ~[cas-server-support-radius-core-mfa-6.4.4.jar:6.4.4]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

Thanks,
-Jeff
Reply all
Reply to author
Forward
0 new messages