Can someone guide as to how can we integrate a .jar file in Layer 7 and use the methods from the jar?
I'm not aware of a way to upload a Jar and utilize methods from that jar, but i do know we offer a way to build you own 'Custom Assertions' utilizing our Custom Assertion SDK. This may get you headed in the right direction.
You can get a copy of this on the Support Portal. Here is a screenshot of my search and file.
What exactly would this custom assertion do? Would i have to mimic the methods of the jar file in this assertion or would i have to write a custom assertion to read the jar file?
So Back to Derek's point, what do these methods do? As we have a lot of customers and seen a lot of use cases. Our Tactical team has developed Custom Assertions for very specific use cases and more general ones, and depending on what you are trying to accomplish with these 'Methods', we may have a potential solution for you already.
Aaaak okay. I get it now.. So the Jar has methods to create a digital signature using the incoming parameters. We would need to pass the required parameters in the jar method and as an output we would get back the signed data.
Using the default assertions you are able to sign the messages coming in. Was there a specific reason you couldn't accomplish this within policy? If you give us a little more detail on the signature, someone may be able to get you going in the right direction.
Were you able to find out the custom assertion for the jar method? Or any other way of integrating the jar with layer 7? Its a little urgent so any help would be more than appreciated
I'm sorry I'm a little lost, what exactly are you referring to when you say jar method?
Sent from my iPhone
I'm trying to locate the CustomAssertion Dev Kit throughout the new downloads site with our Site ID. I couldn't locate it anywhere though . Would you be able to help me get to it?
Long time no talk ;
I found 9.1 Dev kit on the new support site via the following ( API Gateway Essentials - MULTI-PLATFORM ),
Once you hit go, the following screen comes up,
Hope this helps,
What exactly are you trying to do with this jar file?
What jar file are you trying to place into the gateway?
CA Technologies |885 West Georgia Street Ste 500 | Vancouver, BC V6C 3G1
Office: 1-778-328-5285 | Mobile: +1 778 980 0029 | Derek.Orr@ca.com
Its just a regular jar file with some methods which we want to call by passing the required parameters. But we are unsure where and how to place the .jar file in the gateway. And what assertion needs to be used to access the methods of the jar? Any idea bout this?
I will try and elaborate further on what everybody else is saying. There is no functionality in the gateway to call methods from a class contained in a jar file directly from a policy, ie it is a bit more involved than simply dropping the jar file onto the gateway's class path and enabling the call. As mentioned earlier in this thread the gateway functionality can extended by writing custom assertions, these are hand written java code built using a supplied 'Custom Assertion SDK' that can be deployed on the gateway in order to extend the functionality beyond the shipped assertions. Using this you could wrapper the class's methods in a custom assertion and deploy it to the gateway, thus providing the logic in the jar via a assertion statement that can be called from a policy.