Re: [cas-user] CAS 6.1.7.2 Duo-Client Not Found

2021-05-11 Thread 'Zachary Dunham' via CAS Community
Carl,

Nevermind, I got it figured out! Thanks again for the help! I ended up
using a flatDir repository to load those in.

Thanks again!

On Tue, May 11, 2021 at 4:11 PM Zachary Dunham  wrote:

> Carl,
>
> Thanks for the tip! I found my cas.war file and expanded it to find these
> jars. Did you just need to add these to your dependencies in the Gradle
> build script as compile files lines? I did that and duo-core still wants to
> go out to Maven to look for that dependency instead of using the local one
> I compiled.
>
> I appreciate your help
>
> On Tue, May 11, 2021 at 3:13 PM Carl Waldbieser 
> wrote:
>
>> Zachary,
>>
>> I'm running CAS in docker containers.  If I load up one of the container
>> images and override the entrypoint with a shell, I can see that the CAS WAR
>> file is at /docker/cas/war/cas.war .  I copy that out of the container and
>> expand the archive with `jar xvf cas.war`.  The JAR I am looking for is at
>> "./WEB-INF/lib/duo-client-0.2.2.jar".  There are also a couple "okhttp"
>> JARs in there, too.  I think I needed one of those as well.
>>
>> Thanks,
>> Carl Waldbieser
>> ITS
>> Lafayette College
>>
>> On Tue, May 11, 2021 at 3:01 PM 'Zachary Dunham' via CAS Community <
>> cas-user@apereo.org> wrote:
>>
>>> Carl,
>>>
>>> Do you happen to know where those gradle jars are stored by default? I
>>> was going to go to our currently working instance and grab the jar from
>>> there but can't seem to locate it. My first though would be in the .gradle/
>>> location. (I'm running it on Linux).
>>>
>>> Thanks again for the help!
>>>
>>> On Tue, May 11, 2021 at 10:08 AM Carl Waldbieser 
>>> wrote:
>>>
 I am working around this by having the JAR files (duo
 and okhttp-2.3.0.jar) locally in the build environment and tweaking the
 Gradle build script to use those.  Seems to work for now with 6.2.8.

 Thanks,
 Carl Waldbieser
 ITS
 Lafayette College


 On Mon, May 10, 2021 at 5:14 PM 'Zachary Dunham' via CAS Community <
 cas-user@apereo.org> wrote:

> I'm getting the following error in my gradle build:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':bootWar'.
> > Could not resolve all files for configuration ':runtimeClasspath'.
>> Could not resolve net.unicon.iam:duo-client:0.2.2.
>  Required by:
>  project : > org.apereo.cas:cas-server-support-duo:6.1.7.2 >
> org.apereo.cas:cas-server-support-duo-core:6.1.7.2
>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>  > Could not get resource '
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> '.
> > Could not GET '
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
> Received status code 409 from server:
>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>  > Could not get resource '
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> '.
> > Could not GET '
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
> Received status code 403 from server: Forbidden
>
> This error tells me
> that org.apereo.cas:cas-server-support-duo-core:6.1.7.2 requires 
> duo-client
> 0.2.2. However, https://dl.bintray.com/uniconiam/maven/ and
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/
> are no longer accessible due to Jfrog shutting bintray down. I also
> don't see unicon/iam/duo-client:0.2.2 in Maven Central.
>
> Does this mean my only option here is to upgrade to 6.3.x or disable
> Duo MFA?
>
> Is anyone else experiencing this issue or has anyone found a
> workaround for this?
>
> Thanks
>
> --
> Zachary Dunham
> Database Administrator I
> Information Technology Services
> Northeastern State University
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google
> Groups "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pk4yCuyNdkHBeCfKzsQ9hs9r%3D-TN8_AHo1C1innjtxi3Q%40mail.gmail.com
> 
> .
>
 --
 - Website: https://apereo.github.io/cas
 - Gitter 

Re: [cas-user] CAS 6.1.7.2 Duo-Client Not Found

2021-05-11 Thread 'Zachary Dunham' via CAS Community
Carl,

Thanks for the tip! I found my cas.war file and expanded it to find these
jars. Did you just need to add these to your dependencies in the Gradle
build script as compile files lines? I did that and duo-core still wants to
go out to Maven to look for that dependency instead of using the local one
I compiled.

I appreciate your help

On Tue, May 11, 2021 at 3:13 PM Carl Waldbieser 
wrote:

> Zachary,
>
> I'm running CAS in docker containers.  If I load up one of the container
> images and override the entrypoint with a shell, I can see that the CAS WAR
> file is at /docker/cas/war/cas.war .  I copy that out of the container and
> expand the archive with `jar xvf cas.war`.  The JAR I am looking for is at
> "./WEB-INF/lib/duo-client-0.2.2.jar".  There are also a couple "okhttp"
> JARs in there, too.  I think I needed one of those as well.
>
> Thanks,
> Carl Waldbieser
> ITS
> Lafayette College
>
> On Tue, May 11, 2021 at 3:01 PM 'Zachary Dunham' via CAS Community <
> cas-user@apereo.org> wrote:
>
>> Carl,
>>
>> Do you happen to know where those gradle jars are stored by default? I
>> was going to go to our currently working instance and grab the jar from
>> there but can't seem to locate it. My first though would be in the .gradle/
>> location. (I'm running it on Linux).
>>
>> Thanks again for the help!
>>
>> On Tue, May 11, 2021 at 10:08 AM Carl Waldbieser 
>> wrote:
>>
>>> I am working around this by having the JAR files (duo
>>> and okhttp-2.3.0.jar) locally in the build environment and tweaking the
>>> Gradle build script to use those.  Seems to work for now with 6.2.8.
>>>
>>> Thanks,
>>> Carl Waldbieser
>>> ITS
>>> Lafayette College
>>>
>>>
>>> On Mon, May 10, 2021 at 5:14 PM 'Zachary Dunham' via CAS Community <
>>> cas-user@apereo.org> wrote:
>>>
 I'm getting the following error in my gradle build:

 FAILURE: Build failed with an exception.

 * What went wrong:
 Execution failed for task ':bootWar'.
 > Could not resolve all files for configuration ':runtimeClasspath'.
> Could not resolve net.unicon.iam:duo-client:0.2.2.
  Required by:
  project : > org.apereo.cas:cas-server-support-duo:6.1.7.2 >
 org.apereo.cas:cas-server-support-duo-core:6.1.7.2
   > Could not resolve net.unicon.iam:duo-client:0.2.2.
  > Could not get resource '
 https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
 '.
 > Could not GET '
 https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
 Received status code 409 from server:
   > Could not resolve net.unicon.iam:duo-client:0.2.2.
  > Could not get resource '
 https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
 '.
 > Could not GET '
 https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
 Received status code 403 from server: Forbidden

 This error tells me
 that org.apereo.cas:cas-server-support-duo-core:6.1.7.2 requires duo-client
 0.2.2. However, https://dl.bintray.com/uniconiam/maven/ and
 https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/
 are no longer accessible due to Jfrog shutting bintray down. I also
 don't see unicon/iam/duo-client:0.2.2 in Maven Central.

 Does this mean my only option here is to upgrade to 6.3.x or disable
 Duo MFA?

 Is anyone else experiencing this issue or has anyone found a workaround
 for this?

 Thanks

 --
 Zachary Dunham
 Database Administrator I
 Information Technology Services
 Northeastern State University

 --
 - Website: https://apereo.github.io/cas
 - Gitter Chatroom: https://gitter.im/apereo/cas
 - List Guidelines: https://goo.gl/1VRrw7
 - Contributions: https://goo.gl/mh7qDG
 ---
 You received this message because you are subscribed to the Google
 Groups "CAS Community" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to cas-user+unsubscr...@apereo.org.
 To view this discussion on the web visit
 https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pk4yCuyNdkHBeCfKzsQ9hs9r%3D-TN8_AHo1C1innjtxi3Q%40mail.gmail.com
 
 .

>>> --
>>> - Website: https://apereo.github.io/cas
>>> - Gitter Chatroom: https://gitter.im/apereo/cas
>>> - List Guidelines: https://goo.gl/1VRrw7
>>> - Contributions: https://goo.gl/mh7qDG
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to 

Re: [cas-user] CAS 6.1.7.2 Duo-Client Not Found

2021-05-11 Thread Carl Waldbieser
Zachary,

I'm running CAS in docker containers.  If I load up one of the container
images and override the entrypoint with a shell, I can see that the CAS WAR
file is at /docker/cas/war/cas.war .  I copy that out of the container and
expand the archive with `jar xvf cas.war`.  The JAR I am looking for is at
"./WEB-INF/lib/duo-client-0.2.2.jar".  There are also a couple "okhttp"
JARs in there, too.  I think I needed one of those as well.

Thanks,
Carl Waldbieser
ITS
Lafayette College

On Tue, May 11, 2021 at 3:01 PM 'Zachary Dunham' via CAS Community <
cas-user@apereo.org> wrote:

> Carl,
>
> Do you happen to know where those gradle jars are stored by default? I was
> going to go to our currently working instance and grab the jar from there
> but can't seem to locate it. My first though would be in the .gradle/
> location. (I'm running it on Linux).
>
> Thanks again for the help!
>
> On Tue, May 11, 2021 at 10:08 AM Carl Waldbieser 
> wrote:
>
>> I am working around this by having the JAR files (duo
>> and okhttp-2.3.0.jar) locally in the build environment and tweaking the
>> Gradle build script to use those.  Seems to work for now with 6.2.8.
>>
>> Thanks,
>> Carl Waldbieser
>> ITS
>> Lafayette College
>>
>>
>> On Mon, May 10, 2021 at 5:14 PM 'Zachary Dunham' via CAS Community <
>> cas-user@apereo.org> wrote:
>>
>>> I'm getting the following error in my gradle build:
>>>
>>> FAILURE: Build failed with an exception.
>>>
>>> * What went wrong:
>>> Execution failed for task ':bootWar'.
>>> > Could not resolve all files for configuration ':runtimeClasspath'.
>>>> Could not resolve net.unicon.iam:duo-client:0.2.2.
>>>  Required by:
>>>  project : > org.apereo.cas:cas-server-support-duo:6.1.7.2 >
>>> org.apereo.cas:cas-server-support-duo-core:6.1.7.2
>>>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>>>  > Could not get resource '
>>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
>>> '.
>>> > Could not GET '
>>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
>>> Received status code 409 from server:
>>>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>>>  > Could not get resource '
>>> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
>>> '.
>>> > Could not GET '
>>> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
>>> Received status code 403 from server: Forbidden
>>>
>>> This error tells me
>>> that org.apereo.cas:cas-server-support-duo-core:6.1.7.2 requires duo-client
>>> 0.2.2. However, https://dl.bintray.com/uniconiam/maven/ and
>>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/
>>> are no longer accessible due to Jfrog shutting bintray down. I also
>>> don't see unicon/iam/duo-client:0.2.2 in Maven Central.
>>>
>>> Does this mean my only option here is to upgrade to 6.3.x or disable Duo
>>> MFA?
>>>
>>> Is anyone else experiencing this issue or has anyone found a workaround
>>> for this?
>>>
>>> Thanks
>>>
>>> --
>>> Zachary Dunham
>>> Database Administrator I
>>> Information Technology Services
>>> Northeastern State University
>>>
>>> --
>>> - Website: https://apereo.github.io/cas
>>> - Gitter Chatroom: https://gitter.im/apereo/cas
>>> - List Guidelines: https://goo.gl/1VRrw7
>>> - Contributions: https://goo.gl/mh7qDG
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CAS Community" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cas-user+unsubscr...@apereo.org.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pk4yCuyNdkHBeCfKzsQ9hs9r%3D-TN8_AHo1C1innjtxi3Q%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALt4NbPYUdsNQSv8i2dYqGrhpzUyAdFvX5XajHhdoXY%2B563kxA%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Zachary Dunham
> Database Administrator I
> Information Technology Services
> Northeastern State University
> 918.444.5852
>
> --
> - 

Re: [cas-user] CAS 6.1.7.2 Duo-Client Not Found

2021-05-11 Thread 'Zachary Dunham' via CAS Community
Carl,

Do you happen to know where those gradle jars are stored by default? I was
going to go to our currently working instance and grab the jar from there
but can't seem to locate it. My first though would be in the .gradle/
location. (I'm running it on Linux).

Thanks again for the help!

On Tue, May 11, 2021 at 10:08 AM Carl Waldbieser 
wrote:

> I am working around this by having the JAR files (duo
> and okhttp-2.3.0.jar) locally in the build environment and tweaking the
> Gradle build script to use those.  Seems to work for now with 6.2.8.
>
> Thanks,
> Carl Waldbieser
> ITS
> Lafayette College
>
>
> On Mon, May 10, 2021 at 5:14 PM 'Zachary Dunham' via CAS Community <
> cas-user@apereo.org> wrote:
>
>> I'm getting the following error in my gradle build:
>>
>> FAILURE: Build failed with an exception.
>>
>> * What went wrong:
>> Execution failed for task ':bootWar'.
>> > Could not resolve all files for configuration ':runtimeClasspath'.
>>> Could not resolve net.unicon.iam:duo-client:0.2.2.
>>  Required by:
>>  project : > org.apereo.cas:cas-server-support-duo:6.1.7.2 >
>> org.apereo.cas:cas-server-support-duo-core:6.1.7.2
>>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>>  > Could not get resource '
>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
>> '.
>> > Could not GET '
>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
>> Received status code 409 from server:
>>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>>  > Could not get resource '
>> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
>> '.
>> > Could not GET '
>> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
>> Received status code 403 from server: Forbidden
>>
>> This error tells me
>> that org.apereo.cas:cas-server-support-duo-core:6.1.7.2 requires duo-client
>> 0.2.2. However, https://dl.bintray.com/uniconiam/maven/ and
>> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/
>> are no longer accessible due to Jfrog shutting bintray down. I also
>> don't see unicon/iam/duo-client:0.2.2 in Maven Central.
>>
>> Does this mean my only option here is to upgrade to 6.3.x or disable Duo
>> MFA?
>>
>> Is anyone else experiencing this issue or has anyone found a workaround
>> for this?
>>
>> Thanks
>>
>> --
>> Zachary Dunham
>> Database Administrator I
>> Information Technology Services
>> Northeastern State University
>>
>> --
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cas-user+unsubscr...@apereo.org.
>> To view this discussion on the web visit
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pk4yCuyNdkHBeCfKzsQ9hs9r%3D-TN8_AHo1C1innjtxi3Q%40mail.gmail.com
>> 
>> .
>>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALt4NbPYUdsNQSv8i2dYqGrhpzUyAdFvX5XajHhdoXY%2B563kxA%40mail.gmail.com
> 
> .
>


-- 
Zachary Dunham
Database Administrator I
Information Technology Services
Northeastern State University
918.444.5852

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pmA-h%2B2hrL5yo-WEHhExSWiDqN2_5b2FvXAPFXmdV%2BEwA%40mail.gmail.com.


Re: [cas-user] CAS 6.1.7.2 Duo-Client Not Found

2021-05-11 Thread Carl Waldbieser
I am working around this by having the JAR files (duo and okhttp-2.3.0.jar)
locally in the build environment and tweaking the Gradle build script to
use those.  Seems to work for now with 6.2.8.

Thanks,
Carl Waldbieser
ITS
Lafayette College


On Mon, May 10, 2021 at 5:14 PM 'Zachary Dunham' via CAS Community <
cas-user@apereo.org> wrote:

> I'm getting the following error in my gradle build:
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':bootWar'.
> > Could not resolve all files for configuration ':runtimeClasspath'.
>> Could not resolve net.unicon.iam:duo-client:0.2.2.
>  Required by:
>  project : > org.apereo.cas:cas-server-support-duo:6.1.7.2 >
> org.apereo.cas:cas-server-support-duo-core:6.1.7.2
>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>  > Could not get resource '
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> '.
> > Could not GET '
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
> Received status code 409 from server:
>   > Could not resolve net.unicon.iam:duo-client:0.2.2.
>  > Could not get resource '
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom
> '.
> > Could not GET '
> https://dl.bintray.com/uniconiam/maven/net/unicon/iam/duo-client/0.2.2/duo-client-0.2.2.pom'.
> Received status code 403 from server: Forbidden
>
> This error tells me
> that org.apereo.cas:cas-server-support-duo-core:6.1.7.2 requires duo-client
> 0.2.2. However, https://dl.bintray.com/uniconiam/maven/ and
> https://oss.jfrog.org/artifactory/oss-snapshot-local/net/unicon/iam/duo-client/
> are no longer accessible due to Jfrog shutting bintray down. I also don't
> see unicon/iam/duo-client:0.2.2 in Maven Central.
>
> Does this mean my only option here is to upgrade to 6.3.x or disable Duo
> MFA?
>
> Is anyone else experiencing this issue or has anyone found a workaround
> for this?
>
> Thanks
>
> --
> Zachary Dunham
> Database Administrator I
> Information Technology Services
> Northeastern State University
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> ---
> You received this message because you are subscribed to the Google Groups
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cas-user+unsubscr...@apereo.org.
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAFnS6pk4yCuyNdkHBeCfKzsQ9hs9r%3D-TN8_AHo1C1innjtxi3Q%40mail.gmail.com
> 
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALt4NbPYUdsNQSv8i2dYqGrhpzUyAdFvX5XajHhdoXY%2B563kxA%40mail.gmail.com.


[cas-user] Trouble CAS 6.3.x autowire JPA Repository Beans

2021-05-11 Thread Yan Zhou
Hello,

CAS uses Spring JdbcTemplate, it does not use Spring JPA Data Repository. I 
was able to easily add that in CAS 5.3, but run into difficulty with CAS 
6.3.

The Spring JPA Data Repository allows me to define interface and Spring 
provides beans that implement them and Spring cares for all the injection.  
 In Cas 6.3, I keep getting error: NoSuchBeanDefinition, in other words, 
Spring did not instantiate beans for repository interfaces as it should. 

I believe all my Spring Data Repository configuration is correct and that 
is why it is working in CAS5.3, such as the spring-data-jpa dependencies, 
specifying packages for @EnableJpaRepository, @EntityScan in a 
@Configuration class. 

Here is CAS 5.3. I can see Spring is instantiating beans for repository 
interfaces, but this is not happening in CAS 6.3

Did the wiring and bean instantiation change in cas 6.3?

Thanks,
Yan

2021-05-11 02:00:29,041 DEBUG 
[org.springframework.beans.factory.support.DefaultListableBeanFactory] - 
https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/7af5bd78-11aa-4480-93e2-d9e38aa7a5b2n%40apereo.org.