addAllPreservingDuplicates(resultsAssociatedGroups, identitySession.getRelationshipManager(). findAssociatedUsers(group, false, q.searchCriteria)); addAllPreservingDuplicates(resultsRelatedGroups, identitySession.getRelationshipManager(). findRelatedUsers(group, q.searchCriteria));
addAllPreservingDuplicates(resultsAssociatedParentGroups, identitySession.getRelationshipManager().findAssociatedGroups( group, q.groupType, true, false, q.searchCriteria)); addAllPreservingDuplicates(resultsAssociatedChildGroups, identitySession.getRelationshipManager().findAssociatedGroups( group, q.groupType, false, false, q.searchCriteria)); addAllPreservingDuplicates(resultsUsersAssociated,identitySession.getRelationshipManager().findAssociatedGroups( user, q.groupType, q.searchCriteria)); addAllPreservingDuplicates(resultsUsersRelated, identitySession.getRelationshipManager(). findRelatedGroups(user, q.groupType, q.searchCriteria));
orgService.flush(); allGroups = getIdentitySession().getRelationshipManager().findRelatedGroups(user, null, null); } catch (Exception e) {
plGroups.addAll(getIdentitySession().getRelationshipManager() .findAssociatedGroups(getRootGroup(), null, true, true)); } catch (Exception e) {
orgService.flush(); groups = getIdentitySession().getRelationshipManager().findAssociatedGroups(userName, null); } catch (Exception e) { handleException("Identity operation error: ", e);
orgService.flush(); groups = getIdentitySession().getRelationshipManager().findAssociatedGroups(userName, null); } catch (Exception e) { handleException("Identity operation error: ", e);
orgService.flush(); parents = getIdentitySession().getRelationshipManager().findAssociatedGroups(jbidGroup, null, false, false); } catch (Exception e) {
orgService.flush(); try { oneLevelChilds = getIdentitySession().getRelationshipManager() .findAssociatedGroups(jbidGroup, null, true, false); } catch (Exception e) { Collection<org.picketlink.idm.api.Group> parents = getIdentitySession().getRelationshipManager() .findAssociatedGroups(jbidGroup, null, false, false); getIdentitySession().getRelationshipManager().disassociateGroups(parent, dummySet);
orgService.flush(); plGroups.addAll(getIdentitySession().getRelationshipManager().findAssociatedGroups(jbidGroup, null, true, false)); } catch (Exception e) {
groups = getIdentitySession().getRelationshipManager().findAssociatedGroups(userName, null); } catch (Exception e) { getIdentitySession().getRelationshipManager().disassociateUsersByKeys(group.getKey(), keys); } catch (Exception e) {
associated = getIdentitySession().getRelationshipManager().isAssociatedByKeys(gid, userName); } catch (Exception e) {
users = getIdentitySession().getRelationshipManager().findAssociatedUsers(gid, false, null); } catch (Exception e) {
groups = getIdentitySession().getRelationshipManager().findAssociatedGroups(userName, null); } catch (Exception e) {
getIdentitySession().getRelationshipManager().associateGroups(parentGroup, childGroup); getIdentitySession().getRelationshipManager().associateGroups(getRootGroup(), childGroup);
associated = getIdentitySession().getRelationshipManager().isAssociatedByKeys(groupId, m.getUserName()); } catch (Exception e) { keys.add(m.getUserName()); try { getIdentitySession().getRelationshipManager().disassociateUsersByKeys(groupId, keys); } catch (Exception e) {
associated = getIdentitySession().getRelationshipManager().isAssociatedByKeys(gid, userName); } catch (Exception e) {
&& getIdentitySession().getRelationshipManager().isAssociatedByKeys(groupId, m.getUserName())) { if (log.isTraceEnabled()) { Tools.logMethodOut(log, LogLevel.TRACE, "findMembership", m);
getIdentitySession().getRelationshipManager().associateUserByKeys(groupId, m.getUserName()); } catch (Exception e) {
for (Group g : identitySession.getRelationshipManager().findAssociatedGroups(u)) { identity.addGroup(g.getName(), g.getGroupType());
getIdentitySession().getRelationshipManager().associateUserByKeys(groupId, user.getUserName());