Re: LDAP security realm / groovy init script issue

2023-02-14 Thread geoffroy...@gmail.com
Thanks for your help sure we are also considering CasC, but so far Post Init groovy scripts have proven to be a viable solution (but now outdated) to perform some configuration as code. My con

Re: LDAP security realm / groovy init script issue

2023-02-13 Thread Baptiste Mathus
Hi, It looks like you should heavily consider using Jenkins Configuration As Code. See https://plugins.jenkins.io/ldap/#plugin-content-configuration-with-jcasc Using system Groovy scripting like your code is doing is much more risky (this could well break an instance) and reserved to experts as i

Re: LDAP security realm / groovy init script issue

2023-02-13 Thread geoffroy...@gmail.com
Hi sorry to bump this thread, but i was not able to find a solution. Any idea? Shall i create a ticket? Thx On Friday, 27 January 2023 at 10:37:21 UTC+1 geoffroy...@gmail.com wrote: > Hi Thomas > thanks for your answer. > i tried it (and googled a bit about java boolean vs Boolean), but no > suc

Re: LDAP security realm / groovy init script issue

2023-01-27 Thread geoffroy...@gmail.com
Hi Thomas thanks for your answer. i tried it (and googled a bit about java boolean vs Boolean), but no success, still same error. I also tried variations of Boolean.TRUE instead of true for another function call, and it worked fine. So seems the issue is not related to such confusion... On Frid

Re: LDAP security realm / groovy init script issue

2023-01-26 Thread Thomas Markus
Hi, Am 26.01.23 um 18:14 schrieb geoffroy...@gmail.com: Hello i am trying to configure LDAP Security Realm using groovy init script. So far, it works fine, but i am not able to Disable Role Prefixing using the method setDisableRolePrefixing