[midPoint] Outbound mapping PostgresDB

Ivan Noris ivan.noris at evolveum.com
Thu Jan 23 08:45:03 CET 2020


Hi Elsa,

can you please check midpoint.log? There should be something more.

Regards,

Ivan

On 22. 1. 2020 15:51, Gómez Martínez, Elsa wrote:
>
> Hello!
>
>  
>
> I am trying to mapping the users from MidPoint to a PostgreSQL
> Database but I am having the next error:
>
> *Save (GUI)*Configuration error: For input string: "superuserTest"
>
>  
>
> Account (default) on Basic PostgreSQL DBTable
>
> 	
> 	
>
> Add:Fatal error -> superuserTest
>
>  
>
> I am using the next git sample:
>
> https://github.com/Evolveum/midpoint-samples/blob/master/samples/resources/databasetable/postgresql/resource-dbtable-postgresql.xml
>
>  
>
> And this is my schema handling configuration (my username is my unique
> identifier):
>
>         <schemaHandling>
>
>             <objectTypeid=/"5"/>
>
>                 <displayName>Default Account</displayName>
>
>                 <default>true</default>
>
>                 <objectClass>ri:AccountObjectClass</objectClass>
>
>                 <attributeid=/"6"/>
>
>                     <c:ref>icfs:uid</c:ref>
>
>                     <displayName>User ID</displayName>
>
>                     <limitations>
>
>                         <access>
>
>                             <read>true</read>
>
>                         </access>
>
>                     </limitations>
>
>                 </attribute>
>
>                 <attributeid=/"7"/>
>
>                     <c:ref>icfs:name</c:ref>
>
>                     <displayName>Name</displayName>
>
>                     <limitations>
>
>                         <minOccurs>0</minOccurs>
>
>                         <access>
>
>                             <read>true</read>
>
>                             <add>true</add>
>
>                             <modify>true</modify>
>
>                         </access>
>
>                     </limitations>
>
>                     <outbound>
>
>                         <source>
>
>                             <c:path>$user/name</c:path>
>
>                         </source>
>
>                     </outbound>
>
>                 </attribute>
>
>                 <attributeid=/"4"/>
>
>                     <c:ref>ri:username</c:ref>
>
>                     <displayName>_Username_</displayName>
>
>                     <outbound>
>
>                         <source>
>
>                             <c:path>$user/name</c:path>
>
>                         </source>
>
>                     </outbound>
>
>                 </attribute>
>
>  
>
> And my database schema:
>
>  
>
>  
>
> One example user:
>
>  
>
>  
>
>  
>
>  
>
> Could anyone help me?
>
>  
>
> Thanks a lot!
>
>  
>
> minsait <http://www.minsait.com/>
>
>  
>
> Elsa Gómez Martínez
>
>
> Ciberseguridad
>
>  
>
> Espacio Virtual:
>
> https://join.indra.es <https://join.indra.es/>
>
> egomezm at cms.indra.es <mailto:egomezm at cms.indra.es>
>
> ID: 269068
>
> https://emailingindra.indra.es/archivos/1/12316_mates-firma-interna.png
> <https://apps.indraweb.net/mates?utm_source=Notificacion-Mates&utm_medium=email&utm_content=Firma&utm_campaign=Firma-interna&recognise-direct=egomezm>
>
>  
>
>  
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
Ivan Noris
Senior Identity Engineer
evolveum.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200123/51c54896/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 54881 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200123/51c54896/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8943 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200123/51c54896/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 3646 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200123/51c54896/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2554 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200123/51c54896/attachment-0003.png>


More information about the midPoint mailing list