Commit 3bb2b26a authored by Marvin S. Addison's avatar Marvin S. Addison
Browse files

Add constants to support switching among dev/pprd/prod environments.


git-svn-id: https://svn.middleware.vt.edu/svn/ed/edsamples@10087 fa4a4108-76f2-0310-9f0d-ba9fffaf4ff6
parent 7ada437e
using System; using System;
using System.Collections.Generic; using System.DirectoryServices.Protocols;
using System.Linq;
using System.Text;
namespace EdCommon namespace EdCommon
{ {
public class EdConstants public static class EdConstants
{ {
public const string ED_AUTH = "authn.directory.vt.edu"; public const string ED_AUTH = "authn.directory.vt.edu";
public const string ED_ID = "id.directory.vt.edu"; public const string ED_ID = "id.directory.vt.edu";
public const string ED_LITE = "directory.vt.edu"; public const string ED_LITE = "directory.vt.edu";
public const string ED = "ed.middleware.vt.edu";
public const string ED_DEV = "ed-dev.middleware.vt.edu";
public const string ED_PPRD = "ed-pprd.middleware.vt.edu";
public const string SEARCH_BASE = "ou=People,dc=vt,dc=edu"; public const string SEARCH_BASE = "ou=People,dc=vt,dc=edu";
public const int ALT_PORT = 10389;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment