Custom TokenManager implementation

942
4
02-13-2017 11:12 PM
UmutZaim
New Contributor

Hi;

we want to generate and validate our token from out of the ArcGIS enveriment.  How can we implement TokenManager interface.

0 Kudos
4 Replies
RebeccaStrauch__GISP
MVP Esteemed Contributor

I don't think this is exactly what you are asking, but the suggestion by jamesfreddyc 

https://community.esri.com/thread/180549#comment-625960 has some suggestions about using an .ini file with the gettoken function to remove the need to enter (or hardcode) credentials.  I have successfully modify/implemented this in many of my scripts that require a token. 


Although that may not be what you are searching for, it may give you some ideas.

UmutZaim
New Contributor

I try to tell, how can I change the TokenManager java class interface I see in the web adapter arcgis.war (Web Adaptor).

0 Kudos
DerekLaw
Community Moderator

Hi Umut,

Since you posted this in the ArcGIS for Server forum, when you say "... we want to generate and validate our token from out of the ArcGIS environment", I think you mean the GIS Server, right?

In which case, the GIS Server does not support using custom tokens for authentication.

Hope this helps,

0 Kudos
UmutZaim
New Contributor

No, I try to use Web-tier authentication.

0 Kudos