Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Ogee » Credentials(Consuming metadata from an OData service secured by HTTPBasic)
Credentials [message #1409624] Mon, 18 August 2014 15:01 Go to next message
Ted Jones is currently offline Ted JonesFriend
Messages: 1
Registered: August 2014
Junior Member
First, let me say thank you for open-sourcing Ogee. Great work!

So.. I have an OData service secured by HTTPBasic that I am trying to consume using Ogee. When I click the "Go" button on the OData importer, I get this error: "Unauthorized due to missing or incorrect credentials.". Where should I specify the credentials? I am never prompted for them.

Thanks,
Ted
Re: Credentials [message #1416008 is a reply to message #1409624] Thu, 04 September 2014 06:28 Go to previous messageGo to next message
Sounak Basu is currently offline Sounak BasuFriend
Messages: 1
Registered: September 2014
Junior Member
Hello Ted,

Thanks for using Ogee!!

If the OData service is secured by HTTPS protocol, the following steps will resolve the issue:

1) Get the certificate of the OData service you want to connect over HTTPS and store it somewhere on the client file system.
2) Import the certificate to the Java keystore as following:
Open the command prompt(goto run->cmd), go to <JAVA_HOME>\jre\lib\security. Make a backup of "cacerts" file.
Then run the following command:
keytool -import -file [the certificate downloaded from step 1, for example, C:\server.crt] -keystore cacerts
Enter Password : changeit
3) Make sure that the eclipse client is pointing to the JRE as mentioned in step 2.

Note: We will provide a fix for this problem. Until then kindly follow the manual steps.

Regards,
Sounak
Re: Credentials [message #1731442 is a reply to message #1409624] Thu, 05 May 2016 10:14 Go to previous messageGo to next message
Feng Yuan is currently offline Feng YuanFriend
Messages: 1
Registered: May 2016
Junior Member
Hi,

Same thing is happening for the MARS.2 and Ogee 0.7.0.
"Unauthorized due to missing or incorrect credentials."

The service is being being served over HTTP not HTTPS
Re: Credentials [message #1765541 is a reply to message #1731442] Mon, 12 June 2017 09:36 Go to previous message
Anup Kumar Mandal is currently offline Anup Kumar MandalFriend
Messages: 1
Registered: June 2017
Junior Member
Using Ogee-0.7.0 plugin with Eclipse Mars 4.5.2, I get same issue with credential, "Unauthorized due to missing or incorrect credentials" without any prompt of entering username/password . Is there any resolution available?
Previous Topic:Media flag not exported
Goto Forum:
  


Current Time: Thu Jul 13 14:13:38 GMT 2017

Powered by FUDForum. Page generated in 0.03232 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software