OpenAM 13.0 REST API _pageSize parameter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

OpenAM 13.0 REST API _pageSize parameter

Lennart Weijl

Hi All,

When OpenDJ is configured as the external DataStore for users, the REST API’s ‘_pageSize’ parameter on the user endpoint of OpenAM cannot be controlled.
Is this a known issue, or am I missing something configuration wise?


example output:


{
  "result": [
    {
      "username": “john.doe"
    },
    {
      "username": "joe.doe"
    },
    {
      "username": "ruben"
    },
    {
      "username": "h.hae"
    },
    {
      "username": "we"
    },
    {
      "username": "service"
    },
    {
      "username": "p.zomers"
    },
    {
      "username": "pieter.zomers"
    },
    {
      "username": "j.doe"
    },
    {
      "username": "jane.doe"
    },
    {
      "username": "jim.doe"
    }
  ],
  "resultCount": 11,
  "pagedResultsCookie": null,
  "totalPagedResultsPolicy": "NONE",
  "totalPagedResults": -1,
  "remainingPagedResults": -1
}


Met vriendelijke groet / With kind regards

Lennart Weijl


_______________________________________________
Visit the OpenAM forum at https://forgerock.org/forum/fr-projects/openam/
OpenAM mailing list
[hidden email]
https://lists.forgerock.org/mailman/listinfo/openam
Reply | Threaded
Open this post in threaded view
|

Re: OpenAM 13.0 REST API _pageSize parameter

Bernhard Thalmayr
https://bugster.forgerock.org/jira/browse/OPENAM-5110

?

-Bernhard

Am 10/02/16 um 17:01 schrieb Lennart Weijl:

>
> Hi All,
>
> When OpenDJ is configured as the external DataStore for users, the REST
> API’s ‘_pageSize’ parameter on the user endpoint of OpenAM cannot be
> controlled.
> Is this a known issue, or am I missing something configuration wise?
>
>
> example output:
>
> https://openam.example.com/openam/json/users?_queryFilter=true&_fields=username&_pageSize=3
>
> {
>   "result": [
>     {
>       "username": “john.doe"
>     },
>     {
>       "username": "joe.doe"
>     },
>     {
>       "username": "ruben"
>     },
>     {
>       "username": "h.hae"
>     },
>     {
>       "username": "we"
>     },
>     {
>       "username": "service"
>     },
>     {
>       "username": "p.zomers"
>     },
>     {
>       "username": "pieter.zomers"
>     },
>     {
>       "username": "j.doe"
>     },
>     {
>       "username": "jane.doe"
>     },
>     {
>       "username": "jim.doe"
>     }
>   ],
>   "resultCount": 11,
>   "pagedResultsCookie": null,
>   "totalPagedResultsPolicy": "NONE",
>   "totalPagedResults": -1,
>   "remainingPagedResults": -1
> }
>
>
> Met vriendelijke groet / With kind regards
>
> *Lennart Weijl*
> *
> *
>
>
> _______________________________________________
> Visit the OpenAM forum at https://forgerock.org/forum/fr-projects/openam/
> OpenAM mailing list
> [hidden email]
> https://lists.forgerock.org/mailman/listinfo/openam
>


--
Painstaking Minds
IT-Consulting Bernhard Thalmayr
Herxheimer Str. 5, 83620 Vagen (Munich area), Germany
Tel: +49 (0)8062 7769174
Mobile: +49 (0)176 55060699

[hidden email] - Solution Architect
http://www.xing.com/profile/Bernhard_Thalmayr
http://de.linkedin.com/in/bernhardthalmayr

This e-mail may contain confidential and/or privileged information.If
you are not the intended recipient (or have received this email in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
_______________________________________________
Visit the OpenAM forum at https://forgerock.org/forum/fr-projects/openam/
OpenAM mailing list
[hidden email]
https://lists.forgerock.org/mailman/listinfo/openam