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

passing username and password (Credentials) through url

Highlighted
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

Re: passing username and password (Credentials) through url

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

Re: passing username and password (Credentials) through url

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

Announcements
LiveWorx Call For Papers Happening Now!