cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

passing username and password (Credentials) through url

gegboh
4-Participant

passing username and password (Credentials) through url

Is it possible to pass the username and password through a URL to log a specific user in? (i.e. http://domain.com/gallery/mail.php?user=bob?password=abc123) I

 

At the moment we are able to view images held in Windchill via SAP Business Objects when a user logs onto the client however when it comes to downloading images to PDF, it goes through the Busness Objects Server which the users do not have access to so we need to find a way to be able to silently pass the Flex  users credentials else the user does not have the ability to download the images.

 

Thanks

2 REPLIES 2
BineshKumar1
13-Aquamarine
(To:gegboh)

None of the webservers accepts password from the URL  query parameter without using add on modules.   Webserver does not convert query parameters to authorization header.  More over this would be a red flag for IT security.

 

Did you consider building a webservice or a filedownload servlet? If you are in Windchill 11, you have a file download REST API for this

rgoodwin-2
4-Participant
(To:gegboh)

You can pass the username and password in the URL as https://username:password@server-name.domain.com/Windchill

Announcements


Top Tags