Skip to content

A proxy to generate authentication tokens for multiple applications based on convention. Use to skirt the single database per server instance changes introduced at 10.1

Notifications You must be signed in to change notification settings

sishui198/ArcGisServerPermissionsProxy

 
 

Repository files navigation

ArcGIS Server Security Proxy

Installation

  • Install MVC 4 using the web platform installer.
  • Install Raven DB version 3.0.3690 and configure the connection string in the web.config
  • Configure secrets.config in a similar fasion to secrets.example.config in the Api Project.
    • adminUserName is the admin account for arcgis server
    • adminPassword is the admin accounts password
    • accountPassword is the default password for all internal server accounts
  • Configure the SMTP pickup directory/Network settings in the web.config

Running Tests

  • Configure secrets.config in a similar fasion to secrets.example.config in the Tests Project.
    • adminUserName is the admin account for arcgis server
    • adminPassword is the admin accounts password
    • accountPassword is the default password for all internal server accounts
  • Run the Explicit CreatesUsersRolesAndAssignsUsersToRoles test function in BootstrapArcGisServerSecurityCommandTests.cs.
    • This will create roles and users in arcgis server.

Usage

(Refer to the chrome postman extension for routes and parameters)

Create the application

/api/admin/createapplication

It is optional to setup the permissions on arcgis server folders and services

An admin role will be automatically generated

Register Users

/api/user/register

An email will be placed in the pickup location or sent over the network.

Approve first user by email

  • Click the accept as role link in the email

List applied users

/api/user/getallwaiting

Approve users from list

/api/admin/accept

Reject users

/api/admin/reject

Login

/api/authenticate/user

Password management

/api/user/resetpassword

/api/user/changepassword

About

A proxy to generate authentication tokens for multiple applications based on convention. Use to skirt the single database per server instance changes introduced at 10.1

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 97.6%
  • CSS 1.1%
  • Other 1.3%