Article Daniel Kutac · Aug 10, 2016 22m read InterSystems IRIS Open Authorization Framework (OAuth 2.0) implementation - part 2 Created by Daniel Kutac, Sales Engineer, InterSystemsWarning: if you get confused by URLs used: the original series used screens from machine called dk-gs2016. The new screenshots are taken from a different machine. You can safely treat url WIN-U9J96QBJSAG as if it was dk-gs2016.Part 2. Authorization server, OpenID Connect server #Authentication #Access control #Best Practices #OAuth2 #Security #Caché #Ensemble #InterSystems IRIS 9 12 3 5.5K
Article Daniel Kutac · Aug 3, 2016 13m read InterSystems IRIS Open Authorization Framework (OAuth 2.0) implementation - part 1 This article, and following two articles of the series, is intended as a user guide for developers or system administrators, who need to work with OAuth 2.0 framework (further referred to as OAUTH for simplicity) in their InterSystems product based applications. #Authentication #Access control #Best Practices #OAuth2 #Security #Caché #InterSystems IRIS 16 10 15 9.3K
Article Daniel Kutac · Jul 18, 2016 3m read Caché tricks - capture write output to variable Cache tricks Several years ago, long before Developer Community Portal was launched, I published a series of Caché tricks at one of Czech web sites. In this article, I’m posting translated version of one of them. Capturing output of someone else’s methods or routines Suppose you, or someone else created a useful method or routine, that was producing some computation that you’d like to benefit from, but the routine was writing output to process principal device. You would like to use the data, but you need it not written to a device, but assigned to a variable. And, for any reason, you can’t modify the code. What can you do? #Code Snippet #ObjectScript #Caché 10 4 0 2.8K
Question Daniel Kutac · Jun 22, 2016 Deleting draft posting? How can one delete a draft post? I could not, so far, find out.Dan #DC Feedback 0 1 0 143
Question Daniel Kutac · Jun 21, 2016 MSM Workstation having problem with $double(0) Customer is using an ancient MSM based client Workstation for their application and they made a small change to their server code. They introduced property of %Double() and discovered an issue. The MSM workstation is not able to retrieve any property of an object instance that holds value of $double(0). see images illustrating the issue.I'm posting this to DC intentionally before I eventually send it to WRC so others can comment.DanImage 1 - dataimage 2 - UI #Object Data Model #Caché 0 1 0 549
Question Daniel Kutac · Jun 21, 2016 Use of %vid for row selection - syntax? Customer is experimenting with %vid variable for selecting row numbering for sql queries. Basically he's trying to implement paging functionality. He is confused that select %vid from (select ...) returns dummy number whilst select *,%vid from (select...) returns correct data. #SQL #Caché 1 4 2 1.9K
Question Daniel Kutac · Jun 10, 2016 Ensemble VDOC rule - how to address document property using "Property Path"? this is catching me all the time, again and again... Haven't worked with XML VDOC for some time, I can't figure out, what is the correct way of using Property path. Can someone please help me to refresh my memory. Simple example: I have a class called Body, with Value and Topic properties. I created a XML Schema for this class and imported it into Ensemble. So i have a category called message, with Body as DocType structure and Name and Topic properties of Body complex type ($2:Value and $2:Topic are element names) My rule looks this way: #Business Rules #Ensemble 0 3 0 1.2K
Question Daniel Kutac · Jun 1, 2016 Passing a parameter with slashes to the REST call I need to pass a parameter string that contains slashes to a REST call.I tried URL encoding, or making URL map to accept query parameter instead of path parameter but apparently we only allow for path parameters.I can come with several workarounds, but these involve some transformation at client and then on server, but I'd prefer a direct support.Q1: is there any Cache specific trick to pass slashes in path parametersQ2: are we going to support query parameters in REST?something like this would help: #REST API #Caché 0 18 0 45.3K
Question Daniel Kutac · May 31, 2016 API to retrieve MDX from a save pivot? Hello,is there any API available that would return an MDX query string for a given saved pivot name? I could not find anything except for pivots with manual MDX. But that's not my case, I need to get MDX for any pivot.TIA!Dan #Analyzer #InterSystems IRIS BI (DeepSee) 3 9 0 557
Article Daniel Kutac · Apr 27, 2016 1m read Renewing X.509 Certificates, personal experience Hi,I'm posting this for the benefit of others. Not often one changes certificates in Cache, at least in my case. I run a system, that uses certificates to encrypt SOAP messages, and since the last time I ran it, my certificates expired.So I renewed them using our PKI tool, so far so good. I gave all (3) certificates the same names (and filenames too) as to those expired, thinking that everything would just work fine next time I call the SOAP service.Unfortunately, I got trapped. #SSL #Caché 2 0 0 645
Article Daniel Kutac · Apr 7, 2016 1m read Global Summit 2016 - Integrating OAuth 2.0 and OpenID Connect Presenter: Dan KutacTask: Use a common login identity and a central mechanism of authentication across environments from multiple entitiesApproach: Provide examples and code samples of an application environment using OpenID Connect and OAuth 2.0 Description: In this session we will demonstrate an application environment using OpenID Connect and OAuth 2.0. Hear how this is done and what options you have; and yes, you get to keep the code.Problem: How to use a a common login identity (e.g. Facebook credentials) and a central mechanism of authorization cross environments from multiple entities.Solution: Create awareness and interest in using OAuth 2.0Content related to this session, including slides, video and additional learning content can be found here. #Access control #OAuth2 #Security #InterSystems IRIS 0 2 0 730
Question Daniel Kutac · Apr 5, 2016 Running thick client (.NET) in various environments - experience to share? Hello all,I know it is perhaps too vague question, but anyway:Do you have experience from running a thick (preferably .NET) application in any of these modes - client installed locally, Terminal Server, Citrix ? Say, there are around 300-400 concurrent users using application.Can you share your observations / opinions?Thank you! Dan Kutac #Caché #Terminal #.NET 1 1 0 365
Question Daniel Kutac · Mar 23, 2016 Web Development framework to share - anyone? Hello, our customer, large industrial company, is considering modernizing their old CSP application so it can run on multiple client device types, using responsive design.They have a lot of experience with CSP and some ZEN.They are new to REST and have some limited knowledge of javascript - perhaps not enough to the extent used by client framework.Does anyone have a framework or a set of templates that you would be willing to share?Thank you!Dan Kutac #REST API #Frontend #Caché 2 7 0 778
Question Daniel Kutac · Feb 25, 2016 Programmatically creating HL7v2 message, anyone? A customer needs to assemble a HL7v2 ADR A19 (ADT Response - Patient Query) message programmatically, inside Ensemble.Does anyone have an example of how can one create a HL7v2 message programmatically? #Ensemble 2 9 0 1.7K
Question Daniel Kutac · Jan 7, 2016 DeepSee and AGE dimension - how to keep age data up-to-date? Hello, is there any mechanism available in DeepSee to keep values of AGE dimension up-to-date without rebuidling cube? Can age be determined at the mdx query execution time? Thank you! Dan Kutac #Beginner #InterSystems IRIS BI (DeepSee) 0 1 0 387
Article Daniel Kutac · Nov 9, 2015 3m read Tipy a Triky s Caché Tip dvacátý šestý: objekty a concurrency 2 - swizzlingKdyž tento seriál před několika lety začínal, byl jeho první díl věnován zajištění izolace instance objektů pro exkluzivní přístup a popisu příslušných API funkcí. Nedávno se mi ale stalo, že mě tento díl dostihl. Jeden ze zákazníků začal mít problémy v aplikaci, přestože důsledně používal exkluzivní zámky pro editování instancí svých objektů. #Code Snippet #System Administration #Caché 0 0 0 310