Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6915

REST SMS: Global Authentication endpoint returns unwanted data

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 13.0.0
    • Fix Version/s: None
    • Component/s: authentication, rest, sms
    • Labels:
    • Environment:
      OpenAM 13.0.0-SNAPSHOT Build 15808 (2015-September-22 09:22)
    • Rank:
      1|hzq673:

      Description

      REST SMS: Global Authentication endpoint returns unwanted data

      RUN:

      curl -X GET -H "iplanetDirectoryPro: AQIC5wDYxMA..*" 'http://aczv.205.example.com:8080/openam/json/global-config/authentication'
      

      PROBLEM:
      Default values are returned in the JSON response
      These serve no purpose because they are ignored by the XUI and the data is duplicated in the response.

      {
          "_rev": "1899034974",
          "userAttributeSessionMapping": [
              
          ],
          "lockoutEmailAddress": null,
          "storeInvalidAttemptsInDataStore": true,
          "locale": "en_US",
          "defaultAuthLevel": 0,
          "lockoutAttributeValue": null,
          "lockoutDuration": 0,
          
          
          "defaults": {
              "userAttributeSessionMapping": [
                  
              ],
              "lockoutEmailAddress": null,
              "storeInvalidAttemptsInDataStore": true,
              "locale": "en_US",
              "defaultAuthLevel": 0,
              "lockoutAttributeValue": null,
              "lockoutDuration": 0,
              "invalidAttemptsDataAttributeName": null,
              "moduleBasedAuthEnabled": true,
              "userStatusCallbackPlugins": [
                  
              ],
              "lockoutAttributeName": null,
              "zeroPageLoginReferrerWhiteList": [
                  
              ],
              "zeroPageLoginAllowedWithoutReferrer": true,
              "loginPostProcessClass": [
                  
              ],
              "twoFactorRequired": false,
              "usernameGeneratorEnabled": true,
              "defaultRole": [
                  
              ],
              "identityType": [
                  "agent",
                  "user"
              ],
              "dynamicProfileCreation": "false",
              "zeroPageLoginEnabled": false,
              "loginFailureUrl": [
                  ""
              ],
              "loginFailureLockoutMode": false,
              "usernameGeneratorClass": "com.sun.identity.authentication.spi.DefaultUserIDGenerator",
              "adminAuthModule": "[Empty]",
              "statelessSessionsEnabled": false,
              "lockoutDurationMultiplier": 1,
              "loginFailureDuration": 300,
              "loginSuccessUrl": [
                  "/openam/console"
              ],
              "keyAlias": "test",
              "loginFailureCount": 5,
              "orgConfig": "[Empty]",
              "lockoutWarnUserCount": 4,
              "aliasAttributeName": [
                  
              ]
          },
          "invalidAttemptsDataAttributeName": null,
          "moduleBasedAuthEnabled": true,
          "userStatusCallbackPlugins": [
              
          ],
          "lockoutAttributeName": null,
          "zeroPageLoginReferrerWhiteList": [
              
          ],
          "zeroPageLoginAllowedWithoutReferrer": true,
          "loginPostProcessClass": [
              
          ],
          "twoFactorRequired": false,
          "usernameGeneratorEnabled": true,
          "defaultRole": [
              
          ],
          "identityType": [
              "agent",
              "user"
          ],
          "dynamicProfileCreation": "false",
          "zeroPageLoginEnabled": false,
          "loginFailureUrl": [
              ""
          ],
          "loginFailureLockoutMode": false,
          "usernameGeneratorClass": "com.sun.identity.authentication.spi.DefaultUserIDGenerator",
          "adminAuthModule": "[Empty]",
          "statelessSessionsEnabled": false,
          "lockoutDurationMultiplier": 1,
          "loginFailureDuration": 300,
          "loginSuccessUrl": [
              "/openam/console"
          ],
          "keyAlias": "test",
          "loginFailureCount": 5,
          "orgConfig": "[Empty]",
          "lockoutWarnUserCount": 4,
          "aliasAttributeName": [
              
          ]
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              AndrewVinall Andrew Vinall
              QA Assignee:
              Andrew Vinall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: