code: @Override
      public Integer getPortalUserId(String userName) {
          final List<Integer> results =
                  this.jdbcOperations.queryForList(
                          "SELECT USER_ID FROM UP_USER WHERE USER_NAME=?", Integer.class, userName);
          return DataAccessUtils.singleResult(results);
      }
docs: /* (non-Javadoc)
  @see org.apereo.portal.IUserIdentityStore#getPortalUserId(java.lang.String)