Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Reading User Credential from a DNG Widget

Hi,


 I have created a Stand-Alone Executable Java Code. This Runnable Jar I am calling from a Button Click of a DNG Widget(deployed by me).

As of now I am using a Login Window to capture the user credential. On Widget button Click my Utility executes and a Login form pops up asking for the credentials.

Now i want to use the credentials entered by user for DNG Login Window for my Utility also. How do i capture those DNG Login credentials so i can pass them on to my Utility.

Please let me know if someone has created such scenario.

Thanks
Vaibhav

0 votes



One answer

Permanent link
Hi Vaibhav,

If the user is invoking the utility from a widget inside DNG then they already have a valid DNG session running within that browser context.

There should be no need to login to DNG.

The widget will execute its task and respect the access controls that have been granted to the user who is running the widget within that DNG session within that browser.

1 vote

Comments

 Hi Sean,


Thanks for the Response.

My Java Utility is not linked to the DNG Widget. It is stored on my Local Machine and is only Triggered from DNg Widget on a Button Click.

Hence the session is not carried out to my utility, So when the Utility execution starts it looks for Credentials which i am providing through a login form as of now.

I need to capture the credentials and send it to my Utility once it gets Triggered.

Please see to it.

Thanks again for the response.
Vaibhav

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Sep 25 '19, 10:31 p.m.

Question was seen: 1,342 times

Last updated: Sep 26 '19, 3:29 a.m.

Confirmation Cancel Confirm