Re: Events for privilege updates

2020-09-23 Thread Francesco Chicchiriccò
On 22/09/20 09:23, Anmol Sharma wrote: > Hi Francisco, > > I was able to verify that adding these annotations works and helps me > intercept the logic layer for application privilege updates. Glad to hear this! > On Wed, Sep 9, 2020, 4:29 AM Francesco Chicchiriccò >

Re: Events for privilege updates

2020-09-22 Thread Anmol Sharma
Hi Francisco, I was able to verify that adding these annotations works and helps me intercept the logic layer for application privilege updates. Thanks Anmol On Wed, Sep 9, 2020, 4:29 AM Francesco Chicchiriccò wrote: > Hi Anmol, > thanks for reporting the error message. So ,the simplest soluti

Re: Events for privilege updates

2020-09-09 Thread Francesco Chicchiriccò
Hi Anmol, thanks for reporting the error message. So ,the simplest solution should be to define your own class core/src/main/java/org/apache/syncope/core/logic/MyOwnCoolHandler.java not extending any other class. Ensure to annotate as @Aspect @Component Essentially, you are defining an additio

Re: Events for privilege updates

2020-09-08 Thread Anmol Sharma
Hi Franceso, As I'd mentioned in my previous message, it is my understanding that an Aspect can not extend a concrete Aspect. I tried doing as you suggested and extended the *LogicInvocationHandler* to *CustomLogicInvocationHandler* and I see the following error: Caused by: org.springframework.be

Re: Events for privilege updates

2020-09-05 Thread Francesco Chicchiriccò
On 03/09/20 17:31, Anmol Sharma wrote: > Hi Franceso, > > I do not have much experience with AOP but I experimented with it and added a > section to [2] to establish some logic to run after [1] as you suggested. I > am able to intercept any updates made to privileges after that  > ApplicationLogi

Re: Events for privilege updates

2020-09-03 Thread Anmol Sharma
Hi Franceso, I do not have much experience with AOP but I experimented with it and added a section to [2] to establish some logic to run after [1] as you suggested. I am able to intercept any updates made to privileges after that ApplicationLogic.update method has returned. Here is the code block

Re: Events for privilege updates

2020-09-02 Thread Francesco Chicchiriccò
On 01/09/20 19:04, anmols wrote: > Hello SMEs, > > I am new to Apache Syncope and I'm planning to use it for users and > permissions management for third-party applications. > > I am trying to model permissions for these applications as privileges that > are associated with roles assigned to a set

Events for privilege updates

2020-09-01 Thread anmols
Hello SMEs, I am new to Apache Syncope and I'm planning to use it for users and permissions management for third-party applications. I am trying to model permissions for these applications as privileges that are associated with roles assigned to a set to users/groups as described here