Knowledge Partner
Knowledge Partner
192 views

how to trigger a code map refresh from policy?

Is there a way to trigger a code map refresh from policy, preferably for a
single driver only?

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
Labels (1)
0 Likes
5 Replies
Micro Focus Expert
Micro Focus Expert

Re: how to trigger a code map refresh from policy?

Hi Lothar,

On 2019-04-05 16:35, Lothar Haeger wrote:
> Is there a way to trigger a code map refresh from policy, preferably for a
> single driver only?
>


You'd need to do a SOAP request. It is per entitlement:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://www.novell.com/resource/service">
<soapenv:Header/>
<soapenv:Body>
<ser:refreshCodeMapRequest>
<!--Optional:-->
<ser:entitlementDN>?</ser:entitlementDN>
</ser:refreshCodeMapRequest>
</soapenv:Body>
</soapenv:Envelope>

--
Norbert
0 Likes
Knowledge Partner
Knowledge Partner

Re: how to trigger a code map refresh from policy?

On 4/5/2019 10:51 AM, Norbert Klasen wrote:
> Hi Lothar,
>
> On 2019-04-05 16:35, Lothar Haeger wrote:
>> Is there a way to trigger a code map refresh from policy, preferably
>> for a
>> single driver only?
>>

>
> You'd need to do a SOAP request. It is per entitlement:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:ser="http://www.novell.com/resource/service">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <ser:refreshCodeMapRequest>
>          <!--Optional:-->
>          <ser:entitlementDN>?</ser:entitlementDN>
>       </ser:refreshCodeMapRequest>
>    </soapenv:Body>
> </soapenv:Envelope>



ECMA or Java call to make the SOAP request, or java:cmd, and execute curl.
0 Likes
Knowledge Partner
Knowledge Partner

Re: how to trigger a code map refresh from policy?

Geoffrey Carman wrote:

> ECMA


Did you write about SOAP via ECMA already? Preferrably with a code sample... 🙂

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: how to trigger a code map refresh from policy?

Geoffrey Carman wrote:

> ECMA or Java call to make the SOAP request, or java:cmd, and execute curl.


Did you forget about
https://forums.novell.com/showthread.php/493169-CODE-MAP-Refresh-Scope?p=2400749
#post2400749 or did it not work well enough in the end:

Geoffrey Carman wrote:

> ...Java call to just refresh that one entitlement.
>
> Pulling from the PCRS policies, specifically:

NOVLADENTEX-pub-etp-EntitlementsImpl
>
> <token-xpath expression="ps:RefreshCodeMapforGroupEntitlement($UAProvURL,
> $adminQualifiedLDAPDn, $ua-admin-pwd, $groupEntitlementLDAPDn, 1000, null,

true)"/>
>
> Policy node with namespace declaration is:
>
> <policy

xmlns:ps="http://www.novell.com/nxsl/java/com.netiq.resources.ProvisioningScheduler">

--
http://www.is4it.de/en/solution/identity-access-management/

(If you find this post helpful, please click on the star below.)
______________________________________________
https://www.is4it.de/identity-access-management
0 Likes
Knowledge Partner
Knowledge Partner

Re: how to trigger a code map refresh from policy?

On 4/9/201.9 7:51 AM, Lothar Haeger wrote:
> Geoffrey Carman wrote:
>
>> ECMA or Java call to make the SOAP request, or java:cmd, and execute curl.

>
> Did you forget about
> https://forums.novell.com/showthread.php/493169-CODE-MAP-Refresh-Scope?p=2400749
> #post2400749 or did it not work well enough in the end:


Are you seriously holding me to something I wrote in 2015? That is so
last decade. Honestly I do not even remember that at all.

One downside is that the JAR with the functions may be deprecated in 4.7
but you could simply copy it from earlier IDM builds.


> Geoffrey Carman wrote:
>
>> ...Java call to just refresh that one entitlement.
>>
>> Pulling from the PCRS policies, specifically:

> NOVLADENTEX-pub-etp-EntitlementsImpl
>>
>> <token-xpath expression="ps:RefreshCodeMapforGroupEntitlement($UAProvURL,
>> $adminQualifiedLDAPDn, $ua-admin-pwd, $groupEntitlementLDAPDn, 1000, null,

> true)"/>
>>
>> Policy node with namespace declaration is:
>>
>> <policy

> xmlns:ps="http://www.novell.com/nxsl/java/com.netiq.resources.ProvisioningScheduler">
>


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.