You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Lionel SCHWARZ <li...@in2p3.fr> on 2023/02/03 10:49:44 UTC
Re: setting parameters by REST in 3.0.0 ?
----- Le 18 Nov 22, à 11:44, Francesco Chicchiriccò ilgrosso@apache.org a écrit :
>
> Please note anyway that the preferred way to deal with configuration parameters
> from within Java code running inside a Syncope component is via the
> ConfParamOps interface [3].
>
Hi Francesco,
I would like to use ConfParamOps to read configuration parameters from within a LogicActions implementation. Do you have an example how to use it?
Cheers
Lionel
Re: setting parameters by REST in 3.0.0 ?
Posted by Francesco Chicchiriccò <il...@apache.org>.
On 03/02/23 11:49, Lionel SCHWARZ wrote:
> ----- Le 18 Nov 22, à 11:44, Francesco Chicchiriccò ilgrosso@apache.org a écrit :
>
>> Please note anyway that the preferred way to deal with configuration parameters
>> from within Java code running inside a Syncope component is via the
>> ConfParamOps interface [3].
> Hi Francesco,
>
> I would like to use ConfParamOps to read configuration parameters from within a LogicActions implementation. Do you have an example how to use it?
Hi,
it should be to declare
@Autowired
private ConfParamOps confParamOps;
in your LogicActions implementation.
HTH
Regards.
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/