Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: How to add Subjects to the Grouper UI

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: How to add Subjects to the Grouper UI


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Muthaiya, Meena" <>, "" <>
  • Subject: [grouper-users] RE: How to add Subjects to the Grouper UI
  • Date: Thu, 12 Sep 2013 15:08:09 +0000
  • Accept-language: en-US

Are you talking about the built-in subject table?

Look at this wiki page:

https://spaces.internet2.edu/display/Grouper/Grouper+Getting+Started+Quickly

Start gsh and add a subject: bin\gsh

gsh 0% addSubject("test.subject.0", "person", "test.subject.0")
gsh 1% exit

Note: insert rows in the subject attribute table to correspond with your
subject, something like:

insert into subjectattribute (subjectId, name, value, searchValue)
values('test.subject.0','description','description.test.subject.0','description.test.subject.0');

insert into subjectattribute (subjectId, name, value, searchValue)
values('test.subject.0','email','','');

insert into subjectattribute (subjectId, name, value, searchValue)
values('test.subject.0','loginid','id.test.subject.0','id.test.subject.0');

insert into subjectattribute (subjectId, name, value, searchValue)
values('test.subject.0','name','name.test.subject.0','name.test.subject.0');

commit;


Note, if you make change to the sources.xml, make sure it is copied to the
WEB-INF/classes dir in tomcat for the UI/WS

Thanks,
Chris


-----Original Message-----
From:


[mailto:]
On Behalf Of Muthaiya, Meena
Sent: Thursday, September 12, 2013 2:55 AM
To:

Subject: [grouper-users] How to add Subjects to the Grouper UI

Hi -

I installed grouper and got GrouperUI up and running. Grouper Shell is up
and I could execute commands.
I could create folders and groups.
I could create users in tomcat-users.xml and could login as different
persons

BUT

I am not able to add SUBJECTS and see the list and add them as members to
the groups.
I am trying different set up in sources.xml to try and make it go to MySQL
"Subject" table but no luck.

Please help.

Thanks,
Meena



>




Archive powered by MHonArc 2.6.16.

Top of Page