Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
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
You can pass the username and password in the URL as https://username:password@server-name.domain.com/Windchill