code: @Override
      public IEntityGroup find(String key) throws GroupsException {
  
          try {
  
              // Search the Grouper server for groups with the specified local
              // key
              if (LOGGER.isDebugEnabled()) {
                  LOGGER.debug("Searching Grouper for a direct match for key: " + key);
              }
              WsGroup wsGroup = findGroupFromKey(key);
              if (wsGroup == null) {
                  return null;
              }
              IEntityGroup group = createUportalGroupFromGrouperGroup(wsGroup);
  
              if (LOGGER.isDebugEnabled()) {
                  LOGGER.debug(
                          "Retrieved group from the Grouper server matching key "
                                  + key
                                  + ": "
                                  + group.toString());
              }
  
              // return the group
              return group;
  
          } catch (Exception e) {
              LOGGER.warn(
                      "Exception while attempting to retrieve "
                              + "group with key "
                              + key
                              + " from Grouper web services: "
                              + e.getMessage());
              return null;
          }
      }
docs: /* (non-Javadoc)
  @see org.apereo.portal.groups.IEntityGroupStore#find(java.lang.String)