Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RESTful WS call -- authN failing

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RESTful WS call -- authN failing


Chronological Thread 
  • From: Keith Hazelton <>
  • To:
  • Cc: PB IAM <>
  • Subject: [grouper-users] RESTful WS call -- authN failing
  • Date: Wed, 11 Jul 2012 21:55:42 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm sure I'm making a newbie error with RESTful Grouper WS calls. Tried to
follow directions from the wiki. Relying on users defined as result of
running Grouper installer and groups defined with the delivered UI.

Advice appreciated. --Keith

* Set up a user with the grouper_user role for use when invoking Grouper
RESTful web services:
- -----
<tomcat-users>
...
<role rolename="grouper_user"/>
<user username="GrouperSystem" password="...XXXX" roles="grouper_user"/>
<user username="fido" password="...ZZZZ" roles="grouper_user"/>
...
</tomcat-users>
- -----

* Invoke the Grouper web service to retrieve groups for the person with
subject id 'elbl'
- ----------
wget --http-user=fido --http-password=...ZZZZ
http://localhost:8080/grouper-ws/servicesRest/json/v2_1_000/subjects/elbl/groups

- --2012-07-11 21:41:39--
http://arche.metazome.info:8080/grouper-ws/servicesRest/json/v2_1_000/subjects/elbl/groups
Resolving arche.metazome.info (arche.metazome.info)... 50.116.58.238
Connecting to arche.metazome.info
(arche.metazome.info)|50.116.58.238|:8080... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Reusing existing connection to arche.metazome.info:8080.
HTTP request sent, awaiting response... 401 Unauthorized

Authorization failed.
- ----------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJP/jywAAoJEPXbVHOlscTvdo8H/3/DZY5pI0GyNcofYTPCxYv4
WiJi18uzwAM7OAnj7B4134giCfIxunaIfdvAdoruntMB3UvI4vRSGoZLAsizIKIz
1tROzdTbmLtmW8w67B6jnrkQpP1MgfX3b/LMZwNCPK7dtY/y4dVZn54toYQ8j0S+
c2mf3Ycdi6gypBOF2s+xsQH5LG9pZa4eG9cHI1rsdwKYMQQeXrCR08JtNo1P9v+e
1KCzl4xlqYIZPDBuj08Q6ZlEfpHkwMsiixmWfbpGRhuGGAgl0UEiRF3ZVZIkQpe9
2oHJYTh5EV7VZr7poxD4kUX4xCyxzGDws0KW8EMV1kNLXIsCmDE/SI7Qb4fN44Y=
=z6ye
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

Top of Page