// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.api;


/**
 * @author bjorncs
 */
public interface AthenzIdentity {
    AthenzDomain getDomain();
    String getName();
    default String getFullName() {
        return getDomain().getName() + "." + getName();
    }
}

@@ -360,10 +360,79 @@
 ;%0A    %7D%0A
+    default String getDomainName() %7B return getDomain().getName(); %7D%0A
 %7D%0A

Add helper method to return domain name