Four Stars

how can set dynamic username and password in trestclient

how can set dynamic username and password in trestclient by user 

1 ACCEPTED SOLUTION

Accepted Solutions
Twelve Stars

Re: how can set dynamic username and password in trestclient


santosh wrote:

 i aspect u answer but i want some graphical way to above problem


Santosh

 

please understand me correctly - I'm here ... not for accepted answers, and not for kudos and any other sysntetic benefits

I'm here for share my knowledges ... and find answer for my questions

 

And I HATE QUESTIONS !!! like - please provide me exact instructions, at this moment from civil and very patience person ... I start be very, very nervous Smiley Wink For me do not interesting 10th time explain the same problem!!!
all on the picture above - You can see all necessary components

If You:

- do not want install and check demo projects included with studio?

- do not want use this forum or Google search

 

Why I must do Your work? Smiley Happy

 

Screen Shot 2018-02-12 at 8.08.04 PM.pngScreen Shot 2018-02-12 at 8.08.25 PM.pngScreen Shot 2018-02-14 at 10.43.31 PM.png

 

google - talend load context variable from file

 

Screen Shot 2018-02-14 at 10.59.17 PM.pngScreen Shot 2018-02-14 at 11.00.01 PM.png

-----------
18 REPLIES
Twelve Stars

Re: how can set dynamic username and password in trestclient

Depend from what You really need?

 

in simple case:

  1. save it to user profile folders and load at runtime by tContextLoad
  2. define as variable in os for each user and read from OS Environment variables
-----------
Four Stars

Re: how can set dynamic username and password in trestclient

can u give graphical because i m new in talend esb

Twelve Stars

Re: how can set dynamic username and password in trestclient

You must provide - full scenario and descriptions, what You want and what expect

 

not enough information 

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

i want to login some product which user will give login (username and password ) in run time and after login and get some data and redirect some other page  

Twelve Stars

Re: how can set dynamic username and password in trestclient

I think - You not proper understand, what are You want

because Talend ESB (and mostly Talend Tools) - do not mean iteration with User, it normally fully automatically process

somewhere on Server.

 

it have a reason if You instal Jobs under different user profile (for example for different companies or departments) - then read all what I mean above.

But as You describe - think it is not work

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

talend.pngplease go through image which i ant to know that user and password will given at create of trestclient but i want to know that if do not provide at the create of trestclinet means i don't provide all detail's at create time what will provide run time when job will be run some server then i will provide . then how please give right path    

Four Stars

Re: how can set dynamic username and password in trestclient

if password will change then we want change password in context file in password filed . please say yes and no

Twelve Stars

Re: how can set dynamic username and password in trestclient

did You test any of this solutions?

please answer - Yes or No!!! :-)

 

did You read this - Must Read ? please answer - Yes or No?

 

Just test it! as much more You test - as much faster You be share Your own knowledges for all!

P.S.

answer for Your question:
- Yes, You will need change values or in text file or in OS environment variables
- You can automate this process - ask Your admin how

 

 

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

yes

but if password is update then it is not working

Twelve Stars

Re: how can set dynamic username and password in trestclient

how it not work? what error? How designed Your job?

of course You need re-fresh values if Your Job never stop
If it run from scheduler - it must update values each execution

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

talend-1.pngit will work fine u r solution is worked no issues u solution work fine . but my question is in 2 image in below .talend2.pngplease open image i will try elaborate all of thinks which i will need that.

Twelve Stars

Re: how can set dynamic username and password in trestclient

You must load data from file

not save them in Job code as You do

 

Screen Shot 2018-02-12 at 8.08.04 PM.png

 

Screen Shot 2018-02-12 at 8.08.25 PM.png

 

Screen Shot 2018-02-12 at 8.11.34 PM.png

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

i m not understand u r view what u says please elaborate it with some example images  

Twelve Stars

Re: how can set dynamic username and password in trestclient

what from

Load Context From File

is not clean? :-)

 

 

tFileInputDelimited -> tContextLoad

 

all what You must do, each start of Job (or more often if necessary) 

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

 i aspect u answer but i want some graphical way to above problem

Twelve Stars

Re: how can set dynamic username and password in trestclient


santosh wrote:

 i aspect u answer but i want some graphical way to above problem


Santosh

 

please understand me correctly - I'm here ... not for accepted answers, and not for kudos and any other sysntetic benefits

I'm here for share my knowledges ... and find answer for my questions

 

And I HATE QUESTIONS !!! like - please provide me exact instructions, at this moment from civil and very patience person ... I start be very, very nervous Smiley Wink For me do not interesting 10th time explain the same problem!!!
all on the picture above - You can see all necessary components

If You:

- do not want install and check demo projects included with studio?

- do not want use this forum or Google search

 

Why I must do Your work? Smiley Happy

 

Screen Shot 2018-02-12 at 8.08.04 PM.pngScreen Shot 2018-02-12 at 8.08.25 PM.pngScreen Shot 2018-02-14 at 10.43.31 PM.png

 

google - talend load context variable from file

 

Screen Shot 2018-02-14 at 10.59.17 PM.pngScreen Shot 2018-02-14 at 11.00.01 PM.png

-----------
Four Stars

Re: how can set dynamic username and password in trestclient

thanks this time i m properly understand . and thanks