class AthenzUtils {

    public static String getPrincipalName(String domain, String service) {
        if (domain == null || service == null || domain.isEmpty() || service.isEmpty()) {
            return null;
        }
        return (domain + AuthorityConsts.ATHENZ_PRINCIPAL_DELIMITER + service).toLowerCase();
    }

    private  AthenzUtils();

}