|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.grouper.misc.FindBadMemberships
public class FindBadMemberships
Find bad memberships in the Grouper memberships table. This script is used to find bad memberships in Grouper. If a bad membership is found, a GSH script will be created to resolve the issue.
Field Summary | |
---|---|
static java.io.StringWriter |
gshScript
GSH script to fix membership data |
static java.io.PrintStream |
out
|
Constructor Summary | |
---|---|
FindBadMemberships()
|
Method Summary | |
---|---|
static long |
checkAll()
|
static void |
checkAll(java.io.PrintStream printStream)
|
static void |
checkAndFixGrouperAll()
GrouperAll shouldn't have manage privileges or be a member of a group. |
static long |
checkComposites()
|
static long |
checkDeletedGroupAsMember()
|
static long |
checkGrouperAll()
GrouperAll shouldn't have manage privileges or be a member of a group |
static long |
checkGroupSets()
Note that this isn't a complete check of the group set table.. |
static void |
clearResults()
call this before finding bad memberships |
static void |
main(java.lang.String[] args)
|
static void |
printErrorsToSTOUT(boolean v)
Set whether to print errors to STDOUT. |
static void |
writeGshScriptToFile()
Write GSH script to file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.PrintStream out
public static java.io.StringWriter gshScript
Constructor Detail |
---|
public FindBadMemberships()
Method Detail |
---|
public static void clearResults()
public static void main(java.lang.String[] args)
args
- public static void checkAll(java.io.PrintStream printStream) throws SessionException
printStream
-
SessionException
public static long checkAll()
public static void printErrorsToSTOUT(boolean v)
v
- public static long checkGroupSets()
public static long checkGrouperAll()
public static void checkAndFixGrouperAll()
public static long checkComposites()
public static long checkDeletedGroupAsMember()
public static void writeGshScriptToFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |