# 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