[midPoint] How can I read information from shadow if service is down?
Ващенков Алексей
a.vashchenkov at solarsecurity.ru
Wed Jun 24 14:17:56 CEST 2015
Thanks a lot.
From: midPoint [mailto:midpoint-bounces at lists.evolveum.com] On Behalf Of Pavol Mederly
Sent: Wednesday, June 24, 2015 1:04 PM
To: midPoint General Discussion
Subject: Re: [midPoint] How can I read information from shadow if service is down?
Алексей,
the shadow in repository currently contains the following two resource object attributes:
- name (e.g. uid=user1,ou=people,dc=example,dc=com)
- uid (e.g. 59516f85-46a8-464c-918b-212f16444ecd) - this is not shadow's OID, but e.g. LDAP entryUUID
So, account name can be fetched even if the resource is down.
I'm not sure what you mean by "system name".
- If it's the name of the resource, it can be obtained by reading resourceRef (a property of the shadow) and looking up this resource in midPoint repository. These operations do not depend on the resource itself being online.
- If it's some attribute of the account (other than name and uid), then no, it's not possible to fetch that while resource is offline. At least not in current version of midPoint.
Hope this helps,
Pavol
On 16. 6. 2015 12:48, Ващенков Алексей wrote:
Is it possible to read information from shadow if connector can’t connect to system?
We need only account name and system name.
Now it throws an exception while connecting to system and doesn’t read info.
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com<mailto:midPoint at lists.evolveum.com>
http://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20150624/46f6a35c/attachment.htm>
More information about the midPoint
mailing list