IdentifierService identifierService = new DSpace().getSingletonService(IdentifierService.class);
Context context =null;
try {
context = new Context();
context.turnOffAuthorisationSystem();
dso = identifierService.resolve(context, resourceIdentifier);
if(dso==null) throw new RuntimeException("Invalid DOI! " + resourceIdentifier);
return dso;
}catch (IdentifierNotFoundException e) {
throw new RuntimeException(e);