/*
 * Copyright (c) 2014-2015 VMware, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.  You may obtain a copy of
 * the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed
 * under the License is distributed on an "AS IS" BASIS, without warranties or
 * conditions of any kind, EITHER EXPRESS OR IMPLIED.  See the License for the
 * specific language governing permissions and limitations under the License.
 */

package com.vmware.xenon.ui;

import com.vmware.xenon.services.common.ServiceUriPaths;
import com.vmware.xenon.services.common.UiContentService;

public class UiService extends UiContentService {
    public static final String SELF_LINK = ServiceUriPaths.UI_SERVICE_CORE_PATH;
}
@@ -639,16 +639,58 @@
 on.ui;%0A%0A
+import com.vmware.xenon.common.Operation;%0A
 import c
@@ -927,10 +927,181 @@
 RE_PATH;
+%0A%0A    @Override%0A    public void authorizeRequest(Operation op) %7B%0A        // default UI is a single page app and should be publicly accessible.%0A        op.complete();%0A    %7D
 %0A%7D

Make UiService publicly accessible