...
Command | Description | ||
---|---|---|---|
addSubject(id, type, name) | Add local subject to registry | ||
findSubject(id) | Find a subject | ||
findSubject(id, type) | Find a subject | ||
findSubject(id, type, source) | Find a subject | ||
getSources() | Find all Subject sources | ||
grouperSession = GrouperSession.startRootSession(); | Find all subjects in a source by search string | ||
grouperSession = GrouperSession.startRootSession(); | Find a subject by id in a certain source | ||
grouperSession = GrouperSession.startRootSession(); | Find a subject by identifier in a certain source | ||
grouperSession = GrouperSession.startRootSession(); | Find a subject by id or identifier in a certain source | ||
add test subjects to registry (e.g. test.subject.0 through 9) | grouperSession = GrouperSession.startRootSession(); | ||
Edit subject (in this case name) | RegistrySubject registrySubject = GrouperDAOFactory.getFactory().getRegistrySubject().find("user1a", "person", true); | ||
add a subject application principal with attributes (GSH) |
| ||
remove a subject with attributes (GSH) |
|
System
Command | Description |
---|---|
sqlRun(file) | Execute each line of a sql file, just like ant would. This can run the files generated by registryInitializeSchema() |
sqlRun(string) | Executes a single sql statement |
exit | Terminate shell |
help() | Display usage information |
history() | Print commands that have been run |
history(N) | Print the last N commands that have been run |
last() | Run the last command executed |
last(N) | Execute command number N |
p(command) | Pretty print results. This command is more useful when GSH_DEVEL is enabled |
quit | Terminate shell |
version() | Return version information |
...