public class FindBadMemberships extends Object
Modifier and Type | Field and Description |
---|---|
static StringWriter |
gshScript
GSH script to fix membership data
|
static PrintStream |
out |
Constructor and Description |
---|
FindBadMemberships() |
Modifier and Type | Method and Description |
---|---|
static long |
checkAll() |
static void |
checkAll(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(String[] args) |
static void |
printErrorsToSTOUT(boolean v)
Set whether to print errors to STDOUT.
|
static void |
writeGshScriptToFile()
Write GSH script to file.
|
public static PrintStream out
public static StringWriter gshScript
public static void clearResults()
public static void main(String[] args)
args
- public static void checkAll(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()
Copyright © 2016 Internet2. All rights reserved.