You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Manfredo Hopp <mh...@gmail.com> on 2014/12/11 23:33:44 UTC

role mapping

If i define this:

[image: Imágenes integradas 1]

how is it that I get this:

[image: Imágenes integradas 2]

Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
More about this issue.

Defining two SyncTasks with different scripted resource version but same
action class associated has different behaviour.
With 2.1.7 version public method beforeAssign is called in my action class.
With 2.2.1 version  public method beforeAssign is NOT called in my action
class.

Regards

2015-02-25 16:06 GMT-03:00 Manfredo Hopp <mh...@gmail.com>:

> Thank you, I downloaded this version and still get same result!
>
>
>
> 2015-02-25 12:42 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:
>
>  On 25/02/2015 16:20, Manfredo Hopp wrote:
>>
>> It seems the above mentioned jira [1] has been closed, now I would like
>> to know which jar shoul I download. I tryied
>> with net.tirasa.connid.bundles.db.scriptedsql-2.2.1-20141229.152311-4.jar
>> which throws errors!
>>
>>
>> FYI ConnId DB bundle 2.2.1 (table & scripted) was released a while ago:
>>
>> https://groups.google.com/d/msg/connid-users/ovUNvwNgd1g/VeSmuejBBDEJ
>>
>> This means you can download it from Maven central, e.g.
>>
>>
>> http://repo1.maven.org/maven2/net/tirasa/connid/bundles/db/net.tirasa.connid.bundles.db.scriptedsql/2.2.1/net.tirasa.connid.bundles.db.scriptedsql-2.2.1.jar
>>
>> or via Maven:
>>
>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>>
>> Regards.
>>
>>
>>  2014-12-16 5:31 GMT-03:00 Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net>:
>>
>>>  Hi Manfredo,
>>>
>>> On 15/12/2014 19:17, Manfredo Hopp wrote:
>>>
>>> Hi, as previous image shows RolName is 112 instead of USR (expected
>>> value) after create operation.
>>>
>>>
>>> The problem is on the Scripted Sql connector. I opened an issue [1].
>>>
>>> Regards
>>> Marco
>>>
>>> [1] https://connid.atlassian.net/browse/DB-7
>>>
>>>
>>> 2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro <
>>> marco.disabatino@tirasa.net>:
>>>>
>>>>  Hi,
>>>>
>>>>  On 12/12/2014 21:37, Manfredo Hopp wrote:
>>>>
>>>> just in case
>>>>
>>>>    sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__
>>>>  FROM roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
>>>> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
>>>> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>>>>
>>>>
>>>>  You need to describe your problem with more details. For example,
>>>> indicating whether the problem is in the search or create operation
>>>> and your expected value.
>>>>
>>>> Regards
>>>> Marco
>>>>
>>>>  2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
>>>> marco.disabatino@tirasa.net>:
>>>>>
>>>>>  Hi Manfredo,
>>>>>
>>>>> I need more information about your Syncope project (syncope version,
>>>>> type of resource, ...) ?
>>>>> If the version of Syncope is 1.2.X, you must enter the name of the
>>>>> external attribute and not __NAME__.
>>>>>
>>>>> Regards
>>>>> Marco
>>>>>
>>>>>   On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>>>
>>>>>  If i define this:
>>>>>
>>>>>  [image: Imágenes integradas 1]
>>>>>
>>>>>  how is it that I get this:
>>>>>
>>>>>  [image: Imágenes integradas 2]
>>>>>
>>>>>
>>>>>
>

Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
In using the new version the result is still as NOT expected. Any hints?

Regards

2015-02-25 16:06 GMT-03:00 Manfredo Hopp <mh...@gmail.com>:

> Thank you, I downloaded this version and still get same result!
>
>
>
> 2015-02-25 12:42 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:
>
>  On 25/02/2015 16:20, Manfredo Hopp wrote:
>>
>> It seems the above mentioned jira [1] has been closed, now I would like
>> to know which jar shoul I download. I tryied
>> with net.tirasa.connid.bundles.db.scriptedsql-2.2.1-20141229.152311-4.jar
>> which throws errors!
>>
>>
>> FYI ConnId DB bundle 2.2.1 (table & scripted) was released a while ago:
>>
>> https://groups.google.com/d/msg/connid-users/ovUNvwNgd1g/VeSmuejBBDEJ
>>
>> This means you can download it from Maven central, e.g.
>>
>>
>> http://repo1.maven.org/maven2/net/tirasa/connid/bundles/db/net.tirasa.connid.bundles.db.scriptedsql/2.2.1/net.tirasa.connid.bundles.db.scriptedsql-2.2.1.jar
>>
>> or via Maven:
>>
>>
>> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>>
>> Regards.
>>
>>
>>  2014-12-16 5:31 GMT-03:00 Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net>:
>>
>>>  Hi Manfredo,
>>>
>>> On 15/12/2014 19:17, Manfredo Hopp wrote:
>>>
>>> Hi, as previous image shows RolName is 112 instead of USR (expected
>>> value) after create operation.
>>>
>>>
>>> The problem is on the Scripted Sql connector. I opened an issue [1].
>>>
>>> Regards
>>> Marco
>>>
>>> [1] https://connid.atlassian.net/browse/DB-7
>>>
>>>
>>> 2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro <
>>> marco.disabatino@tirasa.net>:
>>>>
>>>>  Hi,
>>>>
>>>>  On 12/12/2014 21:37, Manfredo Hopp wrote:
>>>>
>>>> just in case
>>>>
>>>>    sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__
>>>>  FROM roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
>>>> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
>>>> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>>>>
>>>>
>>>>  You need to describe your problem with more details. For example,
>>>> indicating whether the problem is in the search or create operation
>>>> and your expected value.
>>>>
>>>> Regards
>>>> Marco
>>>>
>>>>  2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
>>>> marco.disabatino@tirasa.net>:
>>>>>
>>>>>  Hi Manfredo,
>>>>>
>>>>> I need more information about your Syncope project (syncope version,
>>>>> type of resource, ...) ?
>>>>> If the version of Syncope is 1.2.X, you must enter the name of the
>>>>> external attribute and not __NAME__.
>>>>>
>>>>> Regards
>>>>> Marco
>>>>>
>>>>>   On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>>>
>>>>>  If i define this:
>>>>>
>>>>>  [image: Imágenes integradas 1]
>>>>>
>>>>>  how is it that I get this:
>>>>>
>>>>>  [image: Imágenes integradas 2]
>>>>>
>>>>>
>>>>>
>

Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
Thank you, I downloaded this version and still get same result!



2015-02-25 12:42 GMT-03:00 Francesco Chicchiriccò <il...@apache.org>:

>  On 25/02/2015 16:20, Manfredo Hopp wrote:
>
> It seems the above mentioned jira [1] has been closed, now I would like to
> know which jar shoul I download. I tryied
> with net.tirasa.connid.bundles.db.scriptedsql-2.2.1-20141229.152311-4.jar
> which throws errors!
>
>
> FYI ConnId DB bundle 2.2.1 (table & scripted) was released a while ago:
>
> https://groups.google.com/d/msg/connid-users/ovUNvwNgd1g/VeSmuejBBDEJ
>
> This means you can download it from Maven central, e.g.
>
>
> http://repo1.maven.org/maven2/net/tirasa/connid/bundles/db/net.tirasa.connid.bundles.db.scriptedsql/2.2.1/net.tirasa.connid.bundles.db.scriptedsql-2.2.1.jar
>
> or via Maven:
>
>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles
>
> Regards.
>
>
>  2014-12-16 5:31 GMT-03:00 Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net>:
>
>>  Hi Manfredo,
>>
>> On 15/12/2014 19:17, Manfredo Hopp wrote:
>>
>> Hi, as previous image shows RolName is 112 instead of USR (expected
>> value) after create operation.
>>
>>
>> The problem is on the Scripted Sql connector. I opened an issue [1].
>>
>> Regards
>> Marco
>>
>> [1] https://connid.atlassian.net/browse/DB-7
>>
>>
>> 2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net>:
>>>
>>>  Hi,
>>>
>>>  On 12/12/2014 21:37, Manfredo Hopp wrote:
>>>
>>> just in case
>>>
>>>    sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__  FROM
>>> roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
>>> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
>>> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>>>
>>>
>>>  You need to describe your problem with more details. For example,
>>> indicating whether the problem is in the search or create operation and
>>> your expected value.
>>>
>>> Regards
>>> Marco
>>>
>>>  2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
>>> marco.disabatino@tirasa.net>:
>>>>
>>>>  Hi Manfredo,
>>>>
>>>> I need more information about your Syncope project (syncope version,
>>>> type of resource, ...) ?
>>>> If the version of Syncope is 1.2.X, you must enter the name of the
>>>> external attribute and not __NAME__.
>>>>
>>>> Regards
>>>> Marco
>>>>
>>>>   On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>>
>>>>  If i define this:
>>>>
>>>>  [image: Imágenes integradas 1]
>>>>
>>>>  how is it that I get this:
>>>>
>>>>  [image: Imágenes integradas 2]
>>>>
>>>>
>>>>

Re: role mapping

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 25/02/2015 16:20, Manfredo Hopp wrote:
> It seems the above mentioned jira [1] has been closed, now I would 
> like to know which jar shoul I download. I tryied 
> with net.tirasa.connid.bundles.db.scriptedsql-2.2.1-20141229.152311-4.jar 
> which throws errors!

FYI ConnId DB bundle 2.2.1 (table & scripted) was released a while ago:

https://groups.google.com/d/msg/connid-users/ovUNvwNgd1g/VeSmuejBBDEJ

This means you can download it from Maven central, e.g.

http://repo1.maven.org/maven2/net/tirasa/connid/bundles/db/net.tirasa.connid.bundles.db.scriptedsql/2.2.1/net.tirasa.connid.bundles.db.scriptedsql-2.2.1.jar

or via Maven:

https://cwiki.apache.org/confluence/display/SYNCOPE/Install+connector+bundles

Regards.

> 2014-12-16 5:31 GMT-03:00 Marco Di Sabatino Di Diodoro 
> <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>
>     Hi Manfredo,
>
>     On 15/12/2014 19:17, Manfredo Hopp wrote:
>>     Hi, as previous image shows RolName is 112 instead of USR
>>     (expected value) after create operation.
>
>     The problem is on the Scripted Sql connector. I opened an issue [1].
>
>     Regards
>     Marco
>
>     [1] https://connid.atlassian.net/browse/DB-7
>
>>
>>     2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro
>>     <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>>
>>         Hi,
>>
>>         On 12/12/2014 21:37, Manfredo Hopp wrote:
>>>         just in case
>>>
>>>           sql.eachRow("SELECT * , IF(fbaja,'false','true') AS
>>>         __ENABLE__  FROM roles " + where,
>>>         {result.add([__UID__:it.serial ,__GROUP__:
>>>         it.serial,__ENABLE__:it.__ENABLE__.toBoolean(),
>>>         __NAME__:it.rol, serial:it.serial,
>>>         applid:it.applid,rol:it.rol]);  } );
>>>
>>>
>>         You need to describe your problemwith more details. For
>>         example, indicating whether the problem is in the search or
>>         create operation and your expected value.
>>
>>         Regards
>>         Marco
>>>         2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro
>>>         <marco.disabatino@tirasa.net
>>>         <ma...@tirasa.net>>:
>>>
>>>             Hi Manfredo,
>>>
>>>             I need more information about your Syncope project
>>>             (syncope version, type of resource, ...) ?
>>>             If the version of Syncope is 1.2.X, you must enter the
>>>             name of the external attribute and not __NAME__.
>>>
>>>             Regards
>>>             Marco
>>>
>>>             On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>>             If i define this:
>>>>
>>>>             Imágenes integradas 1
>>>>
>>>>             how is it that I get this:
>>>>
>>>>             Imágenes integradas 2
>>>>
>>>>

Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
It seems the above mentioned jira [1] has been closed, now I would like to
know which jar shoul I download. I tryied
with net.tirasa.connid.bundles.db.scriptedsql-2.2.1-20141229.152311-4.jar
which throws errors!

Thanks

2014-12-16 5:31 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:

>  Hi Manfredo,
>
> On 15/12/2014 19:17, Manfredo Hopp wrote:
>
> Hi, as previous image shows RolName is 112 instead of USR (expected value)
> after create operation.
>
>
> The problem is on the Scripted Sql connector. I opened an issue [1].
>
> Regards
> Marco
>
> [1] https://connid.atlassian.net/browse/DB-7
>
>
> 2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net>:
>>
>>  Hi,
>>
>>  On 12/12/2014 21:37, Manfredo Hopp wrote:
>>
>> just in case
>>
>>    sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__  FROM
>> roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
>> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
>> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>>
>>
>>  You need to describe your problem with more details. For example,
>> indicating whether the problem is in the search or create operation and
>> your expected value.
>>
>> Regards
>> Marco
>>
>>  2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net>:
>>>
>>>  Hi Manfredo,
>>>
>>> I need more information about your Syncope project (syncope version,
>>> type of resource, ...) ?
>>> If the version of Syncope is 1.2.X, you must enter the name of the
>>> external attribute and not __NAME__.
>>>
>>> Regards
>>> Marco
>>>
>>>   On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>
>>>  If i define this:
>>>
>>>  [image: Imágenes integradas 1]
>>>
>>>  how is it that I get this:
>>>
>>>  [image: Imágenes integradas 2]
>>>
>>>
>>>
>>>   --
>>> Dott. Marco Di Sabatino Di Diodoro
>>> Tel. +39 3939065570
>>>
>>> Tirasa S.r.l.
>>> Viale D'Annunzio 267 - 65127 Pescara
>>> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>>>
>>> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>>>
>>>
>> --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>>
>> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>>
>>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: role mapping

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.
Hi Manfredo,

On 15/12/2014 19:17, Manfredo Hopp wrote:
> Hi, as previous image shows RolName is 112 instead of USR (expected 
> value) after create operation.

The problem is on the Scripted Sql connector. I opened an issue [1].

Regards
Marco

[1] https://connid.atlassian.net/browse/DB-7
>
> 2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro 
> <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>
>     Hi,
>
>     On 12/12/2014 21:37, Manfredo Hopp wrote:
>>     just in case
>>
>>       sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__
>>      FROM roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
>>     it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
>>     serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>>
>>
>     You need to describe your problemwith more details. For example,
>     indicating whether the problem is in the search or create
>     operation and your expected value.
>
>     Regards
>     Marco
>>     2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro
>>     <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>>
>>         Hi Manfredo,
>>
>>         I need more information about your Syncope project (syncope
>>         version, type of resource, ...) ?
>>         If the version of Syncope is 1.2.X, you must enter the name
>>         of the external attribute and not __NAME__.
>>
>>         Regards
>>         Marco
>>
>>         On 11/12/2014 23:33, Manfredo Hopp wrote:
>>>         If i define this:
>>>
>>>         Imágenes integradas 1
>>>
>>>         how is it that I get this:
>>>
>>>         Imágenes integradas 2
>>>
>>>
>>
>>         -- 
>>         Dott. Marco Di Sabatino Di Diodoro
>>         Tel. +39 3939065570
>>
>>         Tirasa S.r.l.
>>         Viale D'Annunzio 267 - 65127 Pescara
>>         Tel +39 0859116307 / FAX +39 0859111173
>>         http://www.tirasa.net
>>
>>         Apache Syncope PMC Member
>>         http://people.apache.org/~mdisabatino/  <http://people.apache.org/%7Emdisabatino/>
>>
>
>     -- 
>     Dott. Marco Di Sabatino Di Diodoro
>     Tel. +39 3939065570
>
>     Tirasa S.r.l.
>     Viale D'Annunzio 267 - 65127 Pescara
>     Tel +39 0859116307 / FAX +39 0859111173
>     http://www.tirasa.net
>
>     Apache Syncope PMC Member
>     http://people.apache.org/~mdisabatino/  <http://people.apache.org/%7Emdisabatino/>
>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
Hi, as previous image shows RolName is 112 instead of USR (expected value)
after create operation.

2014-12-15 6:05 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:
>
>  Hi,
>
>  On 12/12/2014 21:37, Manfredo Hopp wrote:
>
> just in case
>
>    sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__  FROM
> roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>
>
>  You need to describe your problem with more details. For example,
> indicating whether the problem is in the search or create operation and
> your expected value.
>
> Regards
> Marco
>
>  2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net>:
>>
>>  Hi Manfredo,
>>
>> I need more information about your Syncope project (syncope version, type
>> of resource, ...) ?
>> If the version of Syncope is 1.2.X, you must enter the name of the
>> external attribute and not __NAME__.
>>
>> Regards
>> Marco
>>
>>   On 11/12/2014 23:33, Manfredo Hopp wrote:
>>
>>  If i define this:
>>
>>  [image: Imágenes integradas 1]
>>
>>  how is it that I get this:
>>
>>  [image: Imágenes integradas 2]
>>
>>
>>
>>   --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>>
>> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>>
>>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: role mapping

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.
Hi,

On 12/12/2014 21:37, Manfredo Hopp wrote:
> just in case
>
>   sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__  FROM 
> roles " + where, {result.add([__UID__:it.serial ,__GROUP__: 
> it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol, 
> serial:it.serial, applid:it.applid,rol:it.rol]);  } );
>
>
You need to describe your problemwith more details. For example, 
indicating whether the problem is in the search or create operation and 
your expected value.

Regards
Marco
> 2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro 
> <marco.disabatino@tirasa.net <ma...@tirasa.net>>:
>
>     Hi Manfredo,
>
>     I need more information about your Syncope project (syncope
>     version, type of resource, ...) ?
>     If the version of Syncope is 1.2.X, you must enter the name of the
>     external attribute and not __NAME__.
>
>     Regards
>     Marco
>
>     On 11/12/2014 23:33, Manfredo Hopp wrote:
>>     If i define this:
>>
>>     Imágenes integradas 1
>>
>>     how is it that I get this:
>>
>>     Imágenes integradas 2
>>
>>
>
>     -- 
>     Dott. Marco Di Sabatino Di Diodoro
>     Tel. +39 3939065570
>
>     Tirasa S.r.l.
>     Viale D'Annunzio 267 - 65127 Pescara
>     Tel +39 0859116307 / FAX +39 0859111173
>     http://www.tirasa.net
>
>     Apache Syncope PMC Member
>     http://people.apache.org/~mdisabatino/  <http://people.apache.org/%7Emdisabatino/>
>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
just in case

  sql.eachRow("SELECT * , IF(fbaja,'false','true') AS __ENABLE__  FROM
roles " + where, {result.add([__UID__:it.serial ,__GROUP__:
it.serial,__ENABLE__:it.__ENABLE__.toBoolean(), __NAME__:it.rol,
serial:it.serial, applid:it.applid,rol:it.rol]);  } );


2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:
>
>  Hi Manfredo,
>
> I need more information about your Syncope project (syncope version, type
> of resource, ...) ?
> If the version of Syncope is 1.2.X, you must enter the name of the
> external attribute and not __NAME__.
>
> Regards
> Marco
>
>  On 11/12/2014 23:33, Manfredo Hopp wrote:
>
>  If i define this:
>
>  [image: Imágenes integradas 1]
>
>  how is it that I get this:
>
>  [image: Imágenes integradas 2]
>
>
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: role mapping

Posted by Manfredo Hopp <mh...@gmail.com>.
Marco, I am using 121 snapshot version with scripted sql and with suggested
changes still getting same result.


[image: Imágenes integradas 2]

[image: Imágenes integradas 3]


[image: Imágenes integradas 1]



2014-12-12 10:26 GMT-03:00 Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net>:
>
>  Hi Manfredo,
>
> I need more information about your Syncope project (syncope version, type
> of resource, ...) ?
> If the version of Syncope is 1.2.X, you must enter the name of the
> external attribute and not __NAME__.
>
> Regards
> Marco
>
>  On 11/12/2014 23:33, Manfredo Hopp wrote:
>
>  If i define this:
>
>  [image: Imágenes integradas 1]
>
>  how is it that I get this:
>
>  [image: Imágenes integradas 2]
>
>
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173http://www.tirasa.net
>
> Apache Syncope PMC Memberhttp://people.apache.org/~mdisabatino/
>
>

Re: role mapping

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.
Hi Manfredo,

I need more information about your Syncope project (syncope version, 
type of resource, ...) ?
If the version of Syncope is 1.2.X, you must enter the name of the 
external attribute and not __NAME__.

Regards
Marco

On 11/12/2014 23:33, Manfredo Hopp wrote:
> If i define this:
>
> Imágenes integradas 1
>
> how is it that I get this:
>
> Imágenes integradas 2
>
>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/