Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Grouper 1.4.0 WS: Unclear error message on failed stem save

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Grouper 1.4.0 WS: Unclear error message on failed stem save


Chronological Thread 
  • From: "Dr. Loris Bennett" <>
  • To: Chris Hyzer <>
  • Cc: Grouper Users Mailing List <>
  • Subject: RE: [grouper-users] Grouper 1.4.0 WS: Unclear error message on failed stem save
  • Date: Wed, 07 Jan 2009 15:29:26 +0100
  • Organization: Freie Universität Berlin

Hi Chris,

Thanks for the prompt reply.

On Tue, 2009-01-06 at 10:03 -0500, Chris Hyzer wrote:
> Don’t pass an actAs if you don’t need it to change.

OK, removing the actAs stuff in my client fixed the problem.

> Alternatively, make sure the group configured in grouper-ws.properties
> under: ws.act.as.group
> Make sure that group exists, and the user logging in is in that group.
>
> I wasn’t aware that it used to work that if the user was the same as actAs,
> and
> not allowed to actAs, that it would work...
> I can add that functionality (back) in to 1.4.1 if it makes things less
> confusing

I had just copied the code from the samples cargo-cult-style, which
worked for 1.3.0. Making a user "actAs" the same user is obviously a bit
pointless, so maybe the error message in this case could just point out
that "actAs" is not required.

I am little unclear as to how I should specify the user for my web
client. Currently the client just imports users and groups from my
sources of records, and I have just configured

ws.testing.user
ws.testing.pass

in
grouper-ws.properties

to user GrouperSystem.

What would be the preferred method for specifying the credentials for a
functional administrative user?

Cheers

Loris


>
> Kind regards,
> Chris
>
> > -----Original Message-----
> > From: Dr. Loris Bennett
> > [mailto:]
> > Sent: Tuesday, January 06, 2009 9:10 AM
> > To: Grouper Users Mailing List
> > Subject: [grouper-users] Grouper 1.4.0 WS: Unclear error message on
> > failed stem save
> >
> > Hi,
> >
> > I'm am using Grouper V1.4.0 and getting the following error when I try
> > to save stems via my web service client.
> >
> > clientVersion: v1_4_000, wsStemToSaves: Array size: 18: [0]:
> > WsStemToSave[
> >
> > wsStemLookup=WsStemLookup[stemName=sources:saphr-
> > fub:praesidium],
> >
> >
> > wsStem=WsStem[displayExtension=Präsidium,description=Präsidium,name=sou
> > rces:saphr-fub:praesi...
> > , actAsSubject: WsSubjectLookup[subjectId=GrouperSystem],
> > txType: NONE, paramNames:
> > , params: Empty array, java.lang.RuntimeException: Problems
> > seeing if web service user
> >
> > 'InternalSubject[subjectID=GrouperSystem,subjectTypeID=application,name
> > =GrouperSysAdmin]' can actAs the other subject:
> > 'InternalSubject[subjectID=GrouperSystem,subjectTypeID=application,name
> > =GrouperSysAdmin]'
> >
> > I assume this is due to some change in the interface between V1.3.0 and
> > V1.4.0 that I will have to look for myself. However I don't understand
> > the error message, since the information about the service user is
> > identical to that for the "other subject".
> >
> > Regards
> >
> > Loris
> >
> > --
> > Dr. Loris Bennett (Mr.)
> > Freie Universität Berlin
> > ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
> > Compute & Media Service
> > Fabeckstr. 32, Room 221
> > D-14195 Berlin
> > Tel ++49 30 838 51024
> > Fax ++49 30 838 56721
> > Email
> >
> > Web www.zedat.fu-berlin.de
>
--
Dr. Loris Bennett (Mr.)
Freie Universität Berlin
ZEDAT - Zentraleinrichtung für Datenverarbeitung / Computer Center
Compute & Media Service
Fabeckstr. 32, Room 221
D-14195 Berlin
Tel ++49 30 838 51024
Fax ++49 30 838 56721
Email

Web www.zedat.fu-berlin.de




Archive powered by MHonArc 2.6.16.

Top of Page