Closed srijanapanthee closed 9 years ago
are you using the simpleadapter or ldapadapter for authentication?
I am using simpleadapter
the point of that one is that it's simple.. so something is wrong. can you paste the adapter section of gpt.xml here?
<identity encKey="PtkESRI" realm="Geoportal">
<simpleAdapter>
<account username="gptuser" password="gptuser" encrypted="false"/>
<roles>
<role key="gptRegisteredUser"/>
<role key="gptPublisher"/>
<role key="gptAdministrator"/>
</roles>
</simpleAdapter>
<!--
<ldapAdapter>
<ldapConnectionProperties
providerURL="ldap://ldap_host_name:ldap_port"
initialContextFactoryName="com.sun.jndi.ldap.LdapCtxFactory"
securityAuthentication="simple"
securityProtocol="">
<ldapServiceAccount
securityPrincipal="ldap_admin_user"
securityCredentials="ldap_admin_password"
encrypted="false"/>
</ldapConnectionProperties>
can you check that the entire ldapAdapter section is commented out properly? or just remove it?
I have deleted all the entire ldapAdapter section but when I login gptuser still it shows me green Welcome banner
does your tomcat show errors in the logs? is your site public?
I am trying to run geoportal from my local host and tomcat log files does not shows any errors
can you send the entire gpt.xml to mhogeweg@esri.com?
<?xml version="1.0" encoding="UTF-8"?>
On Thu, May 7, 2015 at 1:54 PM, Marten notifications@github.com wrote:
can you send the entire gpt.xml to mhogeweg@esri.com?
— Reply to this email directly or view it on GitHub https://github.com/Esri/geoportal-server/issues/161#issuecomment-99960169 .
hi, you had some invalid characters in the file. I recommend some form of XML validator to verify your edits. even opening in a browser and using the developer tools to see if there are errors will help. I edited the file (removed all the comments) and posted it as a gist: https://gist.github.com/mhogeweg/643855607852f3ef784c
I also configured the geoportal server to use ArcGIS Online's map viewer.
please try this file.
Thank you very much now I can run and see administrative tab and it shows welcome gptuser.
enjoy!
Thanks
I closed computer and restart and login as a gptuser it gives me Unable to connect to LDAP. error. It was working before and I did not changed anything
if you have geoportal.war in the webapps folder, tomcat may redeploy it after a reboot/restart of tomcat. to make sure your edits stick:
thanks
Thank you very much now I can upload files also.
Hi I am trying to geoportal with tomcat 7. If I login in gptuser it shows me green Welcome but it does not show welcome gptuser and after login there is no administrator tab