I know Steve seems to say this is implemented, but I am not entirely
sure it works in this way.

I agree it should, but when I tried this inside an Integration Activity,
no joy.


On 7/23/2012 10:06 AM, skoithodan wrote:
>
> I am trying to pass a user name and password to an Integration activity.
> For password I use a named password and a password-ref GCV is configured
> for that. And in my Integration activity I refer this GCV, but it looks
> like it return the name of Named password, but not resolving it to the
> actual password. I tried it also by putting it in a mapping activity
> store the password value to a flow data, there also same result.
>
> Here is my Named Password defined at driver set level
> name: uaadmin
> password: xxxxxx
>
> My GCV
>
> <definition critical-change="true" display-name="User App Admin
> Password" name="gcv.user.app.adminPassword" type="password-ref">
> <description/>
> <value>uaadmin</value>
> </definition>
>
> In my integration activity the mapping is like this
>
> GCV.get('gcv.user.app.adminPassword') : Envelope/@_password_
>
>
> The server side log is
>
> 2012-07-23 09:20:00,246 INFO [STDOUT] (pool-17-thread-1) DEBUG [RBPM]
> [com.novell.soa.af.impl.core.DataItemEvaluator:eval uateSource]
> evaluating source expression: GCV.get('gcv.user.app.adminPassword')
> 2012-07-23 09:20:00,246 INFO [STDOUT] (pool-17-thread-1) 924734304
> [pool-17-thread-1] DEBUG com.novell.soa.af.impl.core.DataItemEvaluator
> - evaluating source expression: GCV.get('gcv.user.app.adminPassword')
> 2012-07-23 09:20:00,248 INFO [STDOUT] (pool-17-thread-1) TRACE [RBPM]
> [com.novell.soa.af.impl.scripting.GCVScript:getDefi nition] Calling
> extended operation (GetDriverGCVResponse) lCtx.extendedOperation(new
> GetDriverGCVRequest(cn=UserApplication,cn=Driver
> Set,ou=idm,ou=services,o=myCompany, gcv.user.app.adminPassword));
> 2012-07-23 09:20:00,248 INFO [STDOUT] (pool-17-thread-1) 924734305
> [pool-17-thread-1] TRACE com.novell.soa.af.impl.scripting.GCVScript -
> Calling extended operation (GetDriverGCVResponse)
> lCtx.extendedOperation(new
> GetDriverGCVRequest(cn=UserApplication,cn=Driver
> Set,ou=idm,ou=services,o=myCompany, gcv.user.app.adminPassword));
> 2012-07-23 09:20:00,256 INFO [STDOUT] (pool-17-thread-1) TRACE [RBPM]
> [com.novell.soa.af.impl.scripting.GCVScript:getDefi nition] GCV
> definition is: <?xml version="1.0" encoding="UTF-8"?><nds
> dtdversion="4.0" ndsversion="8.x">
> <source>
> <product edition="Advanced"
> version="4.0.1.0">DirXML</product>
> <contact>Novell, Inc.</contact>
> </source>
> <output>
> <status level="success">Global Configuration
> Values<configuration-values>
> <definitions>
> <definition display-name="User
> App Admin Password" name="gcv.user.app.adminPassword"
> type="password-ref">
>
> <description></description>
> <value
> xml:space="preserve">uaadmin</value>
> </definition>
> </definitions>
> </configuration-values>
> </status>
> </output>
> </nds>
> 2012-07-23 09:20:00,256 INFO [STDOUT] (pool-17-thread-1) 924734314
> [pool-17-thread-1] TRACE com.novell.soa.af.impl.scripting.GCVScript -
> GCV definition is: <?xml version="1.0" encoding="UTF-8"?><nds
> dtdversion="4.0" ndsversion="8.x">
> <source>
> <product edition="Advanced"
> version="4.0.1.0">DirXML</product>
> <contact>Novell, Inc.</contact>
> </source>
> <output>
> <status level="success">Global Configuration
> Values<configuration-values>
> <definitions>
> <definition display-name="User
> App Admin Password" name="gcv.user.app.adminPassword"
> type="password-ref">
>
> <description></description>
> <value
> xml:space="preserve">uaadmin</value>
> </definition>
> </definitions>
> </configuration-values>
> </status>
> </output>
> </nds>
> 2012-07-23 09:20:00,257 INFO [STDOUT] (pool-17-thread-1) DEBUG [RBPM]
> [com.novell.soa.af.impl.core.DataItemEvaluator:eval uateSource] result:
> uaadmin
> 2012-07-23 09:20:00,257 INFO [STDOUT] (pool-17-thread-1) 924734315
> [pool-17-thread-1] DEBUG com.novell.soa.af.impl.core.DataItemEvaluator
> - result: uaadmin
>
>
> My User App version is
> Identity Manager Roles Based Provisioning Module Version 4.0.1 Patch B
> Build Revision 37827
>
> My Designer version is
> Version: 4.0.1 Auto Update
> Build id: 20111202
>
> Can you please tell me what I am missing or this could be a bug?
>
> thanks
> koithodan
>
>