Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6781

AuthInitialize example uses deprecated server-side object

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • native client
    • None

    Description

      There are two objects which can be used for auth in Geode, Authenticator and SecurityManager.  Authenticator is deprecated, so our example code should be using a SecurityManager.  It is not using a SecurityManager.  We need to modify the gfsh command line in startserver.sh and startserver.ps1 for the AuthInitialize example to use `-j=-Dgemfire.security-manager=` rather than `-J=-Dgemfire.security-client-authenticator=`, remove the Authenticator implementation from example.jar and replace it with a SecurityManager implementation, and verify that the example is running and using our auth scheme on both client and server.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbender Blake Bender
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: