code: public void map(final Group group, final Role role)
      {
          this.getRoleMappings().add(new RoleMapping(group, role));
      }
docs: Maps a group defined in a component to a role defined in the application.
  
  @param group
  The source group.
  @param role
  The target role.