access = definitionParser.parseAccess(null, "AUTHENTICATED");
assertTrue(access.requiresAuthentication());
//No authentication specified
access = definitionParser.parseAccess(null, "PRIVATE");
assertTrue(access.requiresAuthentication());
//Both authentication values specified
try{
definitionParser.parseAccess(null, "AUTHENTICATED, UNAUTHENTICATED");
fail("Should not allow to specify both authentication values.");