public class GrouperDeprovisioningLogic extends Object
Constructor and Description |
---|
GrouperDeprovisioningLogic() |
Modifier and Type | Method and Description |
---|---|
static boolean |
affiliationAdmin(Subject subject,
String affiliation,
boolean checkOverallAdmins,
boolean checkRootUsers,
boolean useCache) |
static Set<String> |
affiliationsToDeprovision(GrouperObject owner)
get the affiliations to deprovision
|
static boolean |
allowedToDeprovision(Subject subject)
if user is allowed to deprovision
|
static boolean |
deprovisionedSubject(Subject subject,
boolean useCache) |
static boolean |
deprovisionedSubject(Subject subject,
String affiliation,
boolean useCache) |
static Set<Subject> |
deprovisionedSubjectsForAffiliation(String affiliation,
boolean useCache) |
static boolean |
inAffiliationGroup(Subject subject,
String affiliation,
boolean useCache) |
static void |
removeAccess(AttributeDef attributeDef,
Subject subject) |
static void |
removeAccess(Group group,
Subject subject) |
static void |
removeAccess(Membership membership) |
static void |
removeAccess(Stem stem,
Subject subject) |
static boolean |
shouldAddSubject(GrouperSession grouperSession,
Group loaderGroup,
Subject subject) |
static Set<Subject> |
subjectsWhoAreDeprovisionedInRelationToOwner(GrouperObject owner,
boolean useCache)
subjects who are deprovisioned, on affiliations on the owner which are deprovisioning,
and which are not in affilation groups of other deprovisionable groups
|
static Set<DeprovisionedSubject> |
subjectsWhoAreDeprovisionedInRelationToOwnerWithAffiliations(GrouperObject owner,
boolean useCache)
subjects who are deprovisioned, on affiliations on the owner which are deprovisioning,
and which are not in affilation groups of other deprovisionable groups
|
static void |
updateLastCertifiedDate(GrouperObject grouperObject,
Date lastCertifiedDate)
update last certified date to now
|
public static Set<Subject> deprovisionedSubjectsForAffiliation(String affiliation, boolean useCache)
affiliation
- useCache
- public static boolean deprovisionedSubject(Subject subject, String affiliation, boolean useCache)
subject
- affiliation
- useCache
- public static boolean deprovisionedSubject(Subject subject, boolean useCache)
subject
- useCache
- public static void updateLastCertifiedDate(GrouperObject grouperObject, Date lastCertifiedDate)
grouperObject
- lastCertifiedDate
- or null to removepublic static void removeAccess(Membership membership)
membership
- public static void removeAccess(AttributeDef attributeDef, Subject subject)
attributeDef
- subject
- public static boolean allowedToDeprovision(Subject subject)
subject
- public static boolean affiliationAdmin(Subject subject, String affiliation, boolean checkOverallAdmins, boolean checkRootUsers, boolean useCache)
subject
- affiliation
- checkOverallAdmins
- checkRootUsers
- useCache
- public static Set<String> affiliationsToDeprovision(GrouperObject owner)
owner
- public static Set<Subject> subjectsWhoAreDeprovisionedInRelationToOwner(GrouperObject owner, boolean useCache)
owner
- useCache
- public static Set<DeprovisionedSubject> subjectsWhoAreDeprovisionedInRelationToOwnerWithAffiliations(GrouperObject owner, boolean useCache)
owner
- useCache
- public static boolean inAffiliationGroup(Subject subject, String affiliation, boolean useCache)
subject
- affiliation
- useCache
- public static boolean shouldAddSubject(GrouperSession grouperSession, Group loaderGroup, Subject subject)
grouperSession
- loaderGroup
- subject
- Copyright © 2016 Internet2. All rights reserved.