}
AsnAuthPolicy authForRead = new AsnAuthPolicy();
authForRead.setAllowNonLocalResourceIds(this.allowNonLocalResourceIds);
authForRead.setAuthenticationRequired(false);
authForRead.setQueryPrincipals(new AsnPrincipals());
authForRead.getQueryPrincipals().add(AsnConstants.PRINCIPAL_ANY);
// create the assertion set
AsnAssertionSet asnSet = new AsnAssertionSet(name);
String actionPfx = asnSet.getURNPrefix();
// set the index reference
asnSet.setIndexReference(indexRef.duplicate());
// set the default authentication/authorization policy
asnSet.setAuthPolicy(new AsnAuthPolicy());
asnSet.getAuthPolicy().setAllowNonLocalResourceIds(this.allowNonLocalResourceIds);
asnSet.getAuthPolicy().setAuthenticationRequired(true);
asnSet.getAuthPolicy().setCreatePrincipals(new AsnPrincipals());
asnSet.getAuthPolicy().getCreatePrincipals().add(AsnConstants.PRINCIPAL_ANY);
asnSet.getAuthPolicy().setDeletePrincipals(new AsnPrincipals());
asnSet.getAuthPolicy().getDeletePrincipals().add(AsnConstants.PRINCIPAL_OWNER);
asnSet.getAuthPolicy().getDeletePrincipals().add(AsnConstants.PRINCIPAL_ADMINISTRATOR);
asnSet.getAuthPolicy().setEnableDisablePrincipals(new AsnPrincipals());
asnSet.getAuthPolicy().getEnableDisablePrincipals().add(AsnConstants.PRINCIPAL_ADMINISTRATOR);
asnSet.getAuthPolicy().setUpdatePrincipals(new AsnPrincipals());
asnSet.getAuthPolicy().getUpdatePrincipals().add(AsnConstants.PRINCIPAL_OWNER);
asnSet.getAuthPolicy().setQueryPrincipals(new AsnPrincipals());
asnSet.getAuthPolicy().getQueryPrincipals().add(AsnConstants.PRINCIPAL_ANY);
asnSet.getAuthPolicy().setMultiplePerUserSubjectPredicate(false);
// value type
asnSet.setValueType(new AsnValueType());