[midPoint] Outbound mapping PostgresDB

Gómez Martínez, Elsa egomezm at minsait.com
Wed Jan 22 15:51:37 CET 2020


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>
https://github.com/Evolveum/midpoint-samples/blob/master/samples/resources/d
atabasetable/postgresql/resource-dbtable-postgresql.xml

 

And this is my schema handling configuration (my username is my unique
identifier):

        <schemaHandling>

            <objectType id="5">

                <displayName>Default Account</displayName>

                <default>true</default>

                <objectClass>ri:AccountObjectClass</objectClass>

                <attribute id="6">

                    <c:ref>icfs:uid</c:ref>

                    <displayName>User ID</displayName>

                    <limitations>

                        <access>

                            <read>true</read>

                        </access>

                    </limitations>

                </attribute>

                <attribute id="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>

                <attribute id="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!

 


 <http://www.minsait.com/> 


 

Elsa Gómez Martínez

	

Ciberseguridad

 

Espacio Virtual: 

 <https://join.indra.es/> https://join.indra.es

 <mailto:egomezm at cms.indra.es> egomezm at cms.indra.es 

ID: 269068

 
<https://apps.indraweb.net/mates?utm_source=Notificacion-Mates&utm_medium=em
ail&utm_content=Firma&utm_campaign=Firma-interna&recognise-direct=egomezm> 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200122/6bc87e61/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/20200122/6bc87e61/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/20200122/6bc87e61/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/20200122/6bc87e61/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/20200122/6bc87e61/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6101 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20200122/6bc87e61/attachment.bin>


More information about the midPoint mailing list