public static Acl toAcl(final String identifier) {
        if(CANNED_PRIVATE.getCannedString().equals(identifier)) {
            return Acl.CANNED_PRIVATE;
        }
        if(CANNED_PUBLIC_READ.getCannedString().equals(identifier)) {
            return Acl.CANNED_PUBLIC_READ;
        }
        if(CANNED_PUBLIC_READ_WRITE.getCannedString().equals(identifier)) {
            return Acl.CANNED_PUBLIC_READ_WRITE;
        }
        if(CANNED_AUTHENTICATED_READ.getCannedString().equals(identifier)) {
            return Acl.CANNED_AUTHENTICATED_READ;
        }
        if(CANNED_BUCKET_OWNER_FULLCONTROL.getCannedString().equals(identifier)) {
            return Acl.CANNED_BUCKET_OWNER_FULLCONTROL;
        }
        if(CANNED_BUCKET_OWNER_READ.getCannedString().equals(identifier)) {
            return Acl.CANNED_BUCKET_OWNER_READ;
        }
        log.warn(String.format("Unknown canned ACL identifier %s", identifier));
        return Acl.EMPTY;
    }
@Test
    public void testCanned() {
        assertSame(Acl.EMPTY, Acl.toAcl(""));
        assertSame(Acl.EMPTY, Acl.toAcl("none"));
        assertSame(Acl.CANNED_PRIVATE, Acl.toAcl("private"));
    }