Hexagon Geospatial
MENU

ERDAS APOLLO & ECW/JP2

Wondering how others have configured their ERDAS APOLLO server or what data they are crawling? The ERDAS APOLLO Discussion board is a place to find information, share ideas and more. Join the community, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 12
Registered: ‎10-14-2015

remove credentials request when chage raster style

[ Edited ]

Hi team!

i have an issue and i hope can help me.

 

I created a geospatial portal instance and i configured default credentials for apollo catalog in the geospatial portal web.config.

to create the portal this is the process:

 

I added an Apollo service to Portal (with its credentials), then

i add a raster dataset to the portal, which is added with a url like this:
http://apollo.mydomain.mx/ApolloCatalogWMS/service.svc/get?service=WMS&version=1.3.0&REQUEST=GetLayer&layers=Landsat_21012016

I define and set the workspace to the portal instance.

 

The agregate of this raster dataset has several defined styles.

When start up the application, everythin is ok, although the symbology (overwiew) image in the legend is obtained from
http://apollo.mydomain.mx/ANP/Proxy.WebClient.ashx?action=pictogram&mapServiceId=65df-54f3-f574-dfc1&legendDefinitionId=&legendItemDefinitionId=Landsat_21012016

 

however the issue is genereted when i try change the style, the service change the style without problem, but it shows a window  requesting credentials just for change the symbology (overwiew) image in the legend. it try conect to a service like this:
http://apollo.mydomain.mx/erdas-apollo/coverage/EAIM?VERSION=1.3.0&REQUEST=GetLegendGraphic&SERVICE=WMS&LAYER=Landsat_21012016&STYLE=default&FORMAT=image%2Fpng&CONFIG=legendurl
this must not happen because it have configured the crendentials from the portal web.config


I tried register this service (coverage) with credenciales, but it does not store them.

we tried also get the same image (overview) from the principal WMS, passing the same parameters and the result was successful, constructing an URL like this:

http://apollo.mydomain.mx/ApolloCatalogWMS/service.svc/get?VERSION=1.3.0&REQUEST=GetLegendGraphic&SERVICE=WMS&LAYER=Landsat_21012016&STYLE=default&FORMAT=image%2Fpng&CONFIG=legendurl


we know that coverage appears in the service getCapabilities xml, the question is: can we edit the xml getCapabilities? not to use erdas-apollo/coverage/EAIM and set up ApolloCatalogWMS/service.svc. or we want know can to do for remove this credentials request, but the service is not public.

 

thanks and i hope can help me!

 

any contribution is welcome

 

best regards!

David

Technical Evangelist
Posts: 847
Registered: ‎07-30-2015

Re: remove credentials request when chage raster style

[ Edited ]

Hi David,

 

Not sure I understand your workflow.

For "remove credentials", do you mean the default Apollo catalog credential: admin/apollo123?

For changing style for Apollo raster aggregate, are you using the built-in raster style editor @ Apollo data manager?

 

best
haiyan

Occasional Contributor
Posts: 12
Registered: ‎10-14-2015

Re: remove credentials request when chage raster style

Hi Haiyan!

I´m sorry

 

I want say: remove request credentials. That is, I want not that Geospatial Portal shows a window to enter credentials, because the credentials are writed in the portal web.config.

 

regards to "changing style for Apollo raster aggregate", I create the styles in data-manager, and here everything ok, the issue is in the portal.

 

here are some ilustrative images

 

https://drive.google.com/file/d/0B1Lq0uqY5ZEnRzROYjQ2bm85QTA/view?usp=sharing

 

https://drive.google.com/file/d/0B1Lq0uqY5ZEnVVl1V0Nua3c3Yzg/view?usp=sharing

 

https://drive.google.com/file/d/0B1Lq0uqY5ZEnenFlUlp0REh4bmM/view?usp=sharing

 

thanks

 

David

Technical Evangelist
Posts: 847
Registered: ‎07-30-2015

Re: remove credentials request when chage raster style

[ Edited ]

Hi David,

 

So you define user "portales" with password "SomePassword$987589?" from data manager?
Data manager->Users, right-click choose "create users"? And then assign RW permission @ this user to your aggregate?

 

best
haiyan

Occasional Contributor
Posts: 12
Registered: ‎10-14-2015

Re: remove credentials request when chage raster style

Hi Haiyan,


yes, I have created multiple user accounts.

 

here is an image: https://drive.google.com/file/d/0B1Lq0uqY5ZEnVVo0STlobDkyZ2M/view?usp=sharing

the password of portales user is other, but it is the same wich is such in data-manager as in the original web.config. 

 

everything works fine, transparently, even if i want change the style,it does. that is, if not typing credentials in any way change is made. but I can not keep up the credentials prompt window. When I press Cancel Button (do not enter credentials) this appears (in the javascript console):

https://drive.google.com/file/d/0B1Lq0uqY5ZEnOXJvZkhudXZ3cjQ/view?usp=sharing

 

thanks

 

David

Technical Evangelist
Posts: 847
Registered: ‎07-30-2015

Re: remove credentials request when chage raster style

Hi David,

 

Yeah, I can see this issue on my side, and I think that's a bug for APOLLO 2015.

 

Thanks & best regards!

haiyan

 

style_login_window_bug.JPG

Technical Evangelist
Posts: 847
Registered: ‎07-30-2015

Re: remove credentials request when chage raster style

 

The following CR has been filed:

CR 1-KXL7FY Apollo portal keep prompting credential window when changing different styles

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.