Hi Ray,

Many thanks for clarifying where the documentation currently stands and I 
appreciate the tips, too.

Bill

On Wednesday, March 3, 2021 at 12:04:40 PM UTC-6 Ray Bon wrote:

> Bill,
>
> You are not missing anything. I am not sure why the dependency part has 
> not been updated. I want to help out with documentation but just have not 
> had the time.
> There was a transition period, I think, when both maven and gradle builds 
> were available, now it is only gradle.
> Another thing to keep in mind is that some of the properties may have 
> changed names. So you will have to step through your properties file, line 
> by line.
>
> Ray
>
> On Wed, 2021-03-03 at 09:01 -0800, Bill Scully wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
> Thanks again. 
>
> So, as I understand it, the documentation on 
> https://apereo.github.io/cas/6.3.x/ is really not sufficient to install 
> and configure CAS and, in some cases, is misleading.  Take for example, 
> enabling LDAP Authentication.  Apereo's documented steps to enabling LDAP 
> are stated here:  
> https://apereo.github.io/cas/6.3.x/installation/LDAP-Authentication.html.  
> However, this is very different than the step(s) you have given me.
>
> <dependency>
>      <groupId>org.apereo.cas</groupId>
>      <artifactId>cas-server-support-ldap</artifactId>
>      <version>${cas.version}</version>
> </dependency>
>
> is what I used in my 5.x pom.xml, which no longer appears to be used in 
> 6.x.  Is that right?  So is this 5.x configuration under 6.x. documentation 
> that is no longer relevant?
>
> Interestingly, I found the documentation under CAS 5.x to be completely 
> sufficient to install and configure a CAS instance and I am not sure what 
> happened under 6.x, which is why I am wondering if I am missing something 
> obvious.
>
> Thank you, Ray, for your patience with my questions.
>
> On Wednesday, March 3, 2021 at 10:45:26 AM UTC-6 Ray Bon wrote:
>
> Bill,
>
> The 'runtimeOnly' bit is part of gradle (there are identifiers for 
> 'implementation' 'testCompileOnly' etc). The gradle docs really do not 
> describe what these options mean or how/when to use them. You will have to 
> search some blogs if you want to understand the dependency section of 
> gradle.
> For Cas, runtimeOnly will cover the configuration dependencies (since they 
> are pulled in as jars during the build). If you are overriding classes, 
> other dependency identifiers will be required.
>
> Ray
>
> On Wed, 2021-03-03 at 08:31 -0800, Bill Scully wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
> Hi Ray, 
>
> Thanks a lot for your help.
>
> I had seen that blog before posting in this forum, but wondered how those 
> instructions reconciled with the guidance on 
> https://apereo.github.io/cas/6.3.x/.  I am trying to be independent of 
> forums, so as not to bother you guys with basic learning curve questions, 
> but am personally finding gaps in official documentation and getting CAS 
> configured and running.  I suppose I really am missing something.
>
> Is there somewhere on https://apereo.github.io/cas/6.3.x/ that I could 
> have figured "runtimeOnly 
> "org.apereo.cas:cas-server-support-ldap:${casServerVersion}" out and that 
> you could point me to?  I am more than happy to do the grunt work and 
> really don't want to bother everyone with my simple questions.
>
> Thanks again for your help.
>
> Bill
>
> On Tuesday, March 2, 2021 at 3:51:42 PM UTC-6 Ray Bon wrote:
>
> Bill,
>
> In build.gradle, there is a top level dependencies section (not the one in 
> buildscript). You add your dependency with:
>
>     runtimeOnly 
> "org.apereo.cas:cas-server-support-ldap:${casServerVersion}"
>
> Check this blog for an example, 
> https://fawnoos.com/2020/11/09/cas63-gettingstarted-overlay/.
>
> Ray
>
> On Tue, 2021-03-02 at 13:18 -0800, Bill Scully wrote:
>
> Notice: This message was sent from outside the University of Victoria 
> email system. Please be cautious with links and sensitive information. 
>
>
> Hi, 
>
> I am coming from working with 5.2.x, trying to start fresh with 6.3.x and 
> having a difficult time wrapping my head around including dependencies in 
> the overlay.  For example, in 5.2.x, I would add the following in pom.xml:
>
> <dependency>
>         <groupId>org.apereo.cas</groupId>
>         <artifactId>cas-server-support-ldap</artifactId>
>         <version>${cas.version}</version>
> </dependency>
>
> The same format is listed at 
> https://apereo.github.io/cas/6.3.x/installation/LDAP-Authentication.html.  
> However, I can't find where pom.xml is used in 6.x and it appears that 
> dependencies must now be placed in build.gradle in a different format, 
> different that the documented format above.
>
> Sorry, you guys must roll you eyes reading this, but my brain is about to 
> explode trying to figure out what I am missing.
>
> Thanks for reading this and any guidance you can offer.
>
> Bill
>
> -- 
>
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the 
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
> WSÁNEĆ Nations.
>
> -- 
>
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the 
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
> WSÁNEĆ Nations.
>
> -- 
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the 
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and 
> WSÁNEĆ Nations.
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/4b7bc5d4-26c2-46f2-8eab-7f09bb312cacn%40apereo.org.

Reply via email to