tree: 8cfc78e67a3621b20eb4d67638d5bad8c4503738 [path history] [tgz]
  1. ExampleAuthInitialize.cs
  2. Program.cs
  3. README.md
  4. startserver.ps1
  5. stopserver.ps1
examples/dotnet/AuthInitialize/README.md

# AuthInitialize Example This example shows how to create and register a custom IAuthIntialize authentication handler.

Prerequisites

Running

  • Start Geode Server and create region.

    gfsh>start locator --name=locator
    gfsh>start server --name=server
    gfsh>create region --name=region --type=PARTITION
    
  • Execute Apache.Geode.Examples.AuthInitialize.exe.

    output:

    ExampleAuthInitialize::ExampleAuthInitialize called
    ExampleAuthInitialize::GetCredentials called
    a = 1
    b = 2