Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-1078

GoogleApps Connector: Several attributes with eq filters are returning 500 Errors

    Details

      Description

      Query filter should be able to query on all attributes, if not, better message should be sent back from IDM (*400* error and not supported message)

      customerId

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=customerId%20eq%20"C00o84hib"
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: customerId is not supported
      

      changePasswordAtNextLogin

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=changePasswordAtNextLogin%20eq%20false
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: changePasswordAtNextLogin is not supported
      

      includeInGlobalAddressList

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=includeInGlobalAddressList%20eq%20true
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: includeInGlobalAddressList is not supported
      

      _NAME_

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=__NAME__%20eq%20"gcds@fr31.org"
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
      {
        "code" : 400,
        "errors" : [ {
          "domain" : "global",
          "message" : "Missing required field: memberKey",
          "reason" : "required"
        } ],
        "message" : "Missing required field: memberKey"
      }
      	at com.google.api.client.googleapis.json.GoogleJsonResponseException.from(GoogleJsonResponseException.java:150)
      	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
      	at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
      	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:417)
      	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1049)
      	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:515)
      	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:448)
      	at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:565)
      	at org.forgerock.openicf.connectors.googleapps.GoogleAppsConnector.execute(GoogleAppsConnector.java:1595)
      	... 152 more
      

      isMailboxSetup

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=isMailboxSetup%20eq%20true
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: isMailboxSetup is not supported
      

      fullName

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=fullName%20eq%20"gcds GCDS"
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: fullName is not supported
      

      ipWhitelisted

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=ipWhitelisted%20eq%20false
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: ipWhitelisted is not supported
      

      agreedToTerms

      GET http://localhost:8080/openidm/system/google/__ACCOUNT__/?_queryFilter=agreedToTerms%20eq%20true
      {
        "code": 500,
        "reason": "Internal Server Error",
        "message": "Operation QUERY failed with ConnectorException on system object"
      }
      
      Caused by: org.identityconnectors.framework.common.exceptions.ConnectorException: Filter for Attribute: agreedToTerms is not supported
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                petr.jurica Petr Jurica [X] (Inactive)
                Reporter:
                michal.orlik@profiq.cz Michal Orlik
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: