POST
|
So i am building a custom identity store for arcgis server where users are on LDAP and roles are on an Oracle table. I am wondering if it is possible to get the connection string to the oracle directly from arcgisserver Data Store and not to replicate it on more time in the identiry store . The arcgisserver on linux machines and i am using java to develop the custom identity store. Thanks
... View more
11-06-2014
08:55 AM
|
0
|
0
|
2387
|
POST
|
Ok, so as i said i am building a web app with arcgis javascript api with editing capabilities. The spatial data are stored in an oracle db. Each spatial table has an attribute with the id of the prefecture that owns the record. In an other table i store the users and the prefecture that they belong to. I publish the spatial tables to arcgis server as map services with feature access(update,insert,delete,query). Also i have connected arcgis server with the local LDAP and every map service has assigned users and roles. The users in db are the same with those that are coming from ldap. So when the user opens the web app i d like to see and update only the features that belong to his perfecture. I thought why not to do that in a transparent way by building an SOE. I can get the username from the token inside the SOE but i do not know how to proceed in order to query the user table get the prefecture id and then filter the map service. I have good knowledge of arcobjects but it is my first time that i work with SOE. Thanks
... View more
10-15-2014
04:19 AM
|
0
|
1
|
585
|
POST
|
Let me explain my self i d like to extend the default behavior of a Feature Access capability with Create Delete Update on features but with the user filtering. I know that i can use "Enable ownership-based access control" but that doesn't fit my needs. So can i extend it or do i have to recreate the whole logic my self? If i have to, can somebody provide me some guidelines?
... View more
10-15-2014
02:47 AM
|
0
|
3
|
585
|
POST
|
Suppose that i have a service based on a oracle spatial table. The table has an attribute with the username that has access rights to the specific row. So when i hit the service through the javascript api i'd like the data to be filtered on the tokens username. I figured out how i can get the username inside the SOE using the following Guid guid = Marshal.GenerateGuidForType(typeof(IServerEnvironment)); UID uid = new UIDClass(); uid.Value = guid.ToString("B"); IEnvironmentManager environmentManager = new EnvironmentManager() as IEnvironmentManager; IServerEnvironment2 serverEnvironment = environmentManager.GetEnvironment(uid) as IServerEnvironment2; string userName = serverEnvironment.UserInfo.Name; IEnumBSTR roles = serverEnvironment.UserInfo.Roles; string role = roles.Next(); do role = roles.Next(); while (role != null); So how can i proceed in order to filter the data on the service Thanks George
... View more
10-14-2014
06:11 AM
|
0
|
5
|
10336
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|