static boolean isGroupSyncRequestHack(Manager manager,String identity,String servletPath,String operationName) throws SQLException {
  Preconditions.checkNotNull(manager);
  if (identity == null) {
    return false;
  }
  if (!HACK_ENDPOINT.equals(servletPath) || !HACK_OPERATION.equals(operationName)) {
    return false;
  }
  DBIdentity requestor=DBIdentity.getIdentityForUserName(manager,identity);
  if (requestor == null) {
    return false;
  }
  return true;
}

static boolean isGroupSyncRequestHack ( Manager manager , String identity , String servletPath , String operationName ) throws SQLException { Preconditions . checkNotNull ( manager ) ; if ( identity == null ) { return false ; } if ( ! HACK_ENDPOINT . equals ( servletPath ) || ! HACK_OPERATION . equals ( operationName ) ) { return false ; } DBIdentity requestor = DBIdentity . getIdentityForUserName ( manager , identity ) ; if ( requestor == null ) { return false ; } return true ; }
returns true if this appears to be a group synchronization request . the group sync api should be improved to be a single request per group , so this can be removed .
