[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Copying Token attributes



Hello,

I'm using the following JOB_ROUTER_PRE_ROUTE_TRANSFORM in a HTCondor-CE to copy the AuthToken* attributes
into the Classad of the routedjob:

JOB_ROUTER_TRANSFORM_CopyTokenAttrs @=jrt
ÂREQUIREMENTS MY.AuthTokenSubject =!= undefined
ÂEVALSET RAuthTokenId AuthTokenId Â
ÂEVALSET RAuthTokenIssuer AuthTokenIssuer Â
ÂEVALSET RAuthTokenSubject AuthTokenSubject Â
ÂEVALSET RAuthTokenIssuer AuthTokenIssuer Â
@jrt

Note the capital R in RAuthTokenId and the others. Fact is that i wasn't able to just copy the attribute with
its original name, so i had to alter the attribute names.

All the attempts i made did fail:
EVALSET AuthTokenSubject AuthTokenSubject
Â
EVALSET AuthTokenSubject MY.AuthTokenSubject

EVALSET TARGET.AuthTokenSubject MY.AuthTokenSubject

EVALSET TARGET.AuthTokenSubject AuthTokenSubject

Is there any way to keep the original name?
Thanks
Stefano