Package edu.internet2.middleware.grouperClient.ws.beans

Examples of edu.internet2.middleware.grouperClient.ws.beans.WsSubject


    return wsStem.getName();
  }

  public ArrayList<Group> getGroups() {
    GcFindGroups gcf = new GcFindGroups();
    WsQueryFilter wsqf = new WsQueryFilter();
    wsqf.setStemName(wsStem.getName());
    wsqf.setQueryFilterType("FIND_BY_STEM_NAME");
    gcf.assignQueryFilter(wsqf);

    ArrayList<Group> groupResults = new ArrayList();

    WsGroup[] callResults = gcf.execute().getGroupResults();
View Full Code Here


        String uportalStem = getStemPrefix();

        // if only searching in a specific stem
        if (!StringUtils.isBlank(uportalStem)) {
            getGroups.assignStemScope(StemScope.ALL_IN_SUBTREE);
            getGroups.assignWsStemLookup(new WsStemLookup(uportalStem, null));

        }

        String key = null;
        String subjectSourceId = null;
View Full Code Here

  private boolean hasDetails = false;
  private LdapLookup ldapc = null;
  private String cnetid;

  public Subject(String chicagoID){
    WsSubject newSubj = new WsSubject();
    newSubj.setId(chicagoID);
    subject = newSubj;
  }
View Full Code Here

            return false;
        }

        GcHasMember gcHasMember = new GcHasMember();
        gcHasMember.assignGroupName(groupContainerName);
        gcHasMember.addSubjectLookup(new WsSubjectLookup(null, "g:gsa",
                groupMemberName));
        WsHasMemberResults wsHasMemberResults = gcHasMember.execute();
        if (GrouperClientUtils.length(wsHasMemberResults.getResults()) == 1) {
            WsHasMemberResult wsHasMemberResult = wsHasMemberResults
                    .getResults()[0];
View Full Code Here

            // group, we should use the group's local key (excluding the
            // "grouper." portion of the full key. If the entity is not a
            // group type, just use the key.
            key = gm.getKey();
        }
        getGroups.addSubjectLookup(new WsSubjectLookup(null, subjectSourceId,
                key));

            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Searching Grouper for parent groups of the entity with key: "
                        + key);
View Full Code Here

TOP

Related Classes of edu.internet2.middleware.grouperClient.ws.beans.WsSubject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.