Converting an Agent from SNMPv2 to SNMPV3

Right, so registering a single instance of MOScalar works just fine in the SNMPV3 configuration, but when I try to register a StaticMOGroup object I cannot find that same oid when I run the same SNMPGET request.

protected void registerManagedObjects(){
  MOScalar mo  =  new MOScalar(new OID("1.3.6.1.4.1.73.17.1.8.6.1.3.1.4.116.105.1.0"),
  MOAccessImpl.ACCESS_READ_WRITE,
  new OctetString("This is a test")); 

 //server.register(mo, new OctetString("public"));

 VariableBinding[] agentOIDS = {
  new VariableBinding(new OID("1.3.6.1.4.1.73.17.1.8.6.1.3.1.4.116.105.1), new (OctetString("This is a test 1")),
 new VariableBinding(new OID("1.3.6.1.4.1.73.17.1.8.6.1.3.1.4.116.105.2), new (OctetString("This is a test 2")),
 new VariableBinding(new OID("1.3.6.1.4.1.73.17.1.8.6.1.3.1.4.116.105.3), new (OctetString("This is a test 3")),
}

 OID root = new OID("1.3.6.1.4.1");
StaticMOGroup staticOidGroup = new staticMOGroup(root, agentOIDS);

server.register(staticOidGroup, new OctetString("public"))


}

The only thing that I can think of is maybe there’s an issue with registering it with the OctetString("public ")
If that were the case I wouldn’t expect the MOScalar mo registration to work?
I’ll keep looking into it, I appreciate your feedback though!