Skip to Content.
Sympa Menu

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

Subject: Grouper Users - Open Discussion List

List archive

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


Chronological Thread 
  • From: Keith Hazelton <>
  • To:
  • Cc: PB IAM <>
  • Subject: Re: [grouper-users] RESTful WS call -- authN failing
  • Date: Thu, 12 Jul 2012 05:06:22 -0500

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

Thanks for your late-night hours, Chris.

I hadn't set JAVA_HOME properly, so shutdown.sh failed, and tomcat-users.xml
never got reloaded after the edits.

It's working as expected now. --Keith
_________________________________
On Jul 11, 2012, at 22:53:36, Chris Hyzer wrote:

> Send me your web.xml...
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Keith Hazelton
> Sent: Wednesday, July 11, 2012 10:56 PM
> To:
>
> Cc: PB IAM
> Subject: [grouper-users] RESTful WS call -- authN failing
>
> -----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-----

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

iQEcBAEBAgAGBQJP/qGfAAoJEPXbVHOlscTvYzAIALuXgFMGtIryru7mMUIcjoSB
w9Yu2pa3UFd1Cw5KfIEoxNXHGEDvDSSAAu7wgXv5Eg1VGLQeMkoPJ+NL+p1dx3jJ
QKaY2Te4yNa3M//eoB2MBBOsGdSY/D4QT7IaBUAhhqESeDuzhY9Z4pA/LqEj+1PT
a0J8QBmWlD1P1hYgn0LGdmBWR6y1pH1AmDtZOZDnjW4vuPVhy5IZaLXs4UCaMSfx
zPhwc4SXCx2hZWgc1C41fj4YkXhfDWGqTxtFc1lbTBlDz3IgLIWBCJPfUeDvyn4y
snQ4m/pZ9M5oRd3xtUMNgYCbMTeSC5Ij5tHGH2Aa1Y18wvjnlTuwhE5YsHyBIig=
=mrLP
-----END PGP SIGNATURE-----



Archive powered by MHonArc 2.6.16.

Top of Page