Skip to main content
1-Visitor
August 9, 2017
Question

passing username and password (Credentials) through url

  • August 9, 2017
  • 2 replies
  • 3511 views

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

1-Visitor
August 10, 2017

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

1-Visitor
October 3, 2019

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