Java

Java

Java

Topics on Semeru (Java) on IBM Z

 View Only
Expand all | Collapse all

IBM semeru open edition and IBMZSecurity provider.

  • 1.  IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 02:09 AM
    Hi,
    I working to migrate Java 8 code to Java 11.0.15, my code is using the security provider IBMZSecurity (which is added in JAVA 11.0.15), as the IBM guide
    I developed the code using eclipse and downloaded Semeru Open edition 11.0.17 for windows, I tried to enable the IBMZSecurity provider in my jdk 
    library, to be added to the list of providers in java.security file, but I couldn't see that the RACFInputStream couldn't resolve in eclipse and I don't see
    that the package com.ibm.crypto.zsecurity.provider is in the libraries of jdk 11,
    , I downloaded JDK 11.0.17.8 - open j9. 
    Please can you help me to resolve this issue?

    ------------------------------
    Sharbel Nasra
    ------------------------------


  • 2.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 10:46 AM
    Edited by James Tang Wed November 30, 2022 10:50 AM

    Reference thread from another category group here.

    Hi Sharbel,

    IBMZSecurity is not part of distributed platform SDKs. IBMZSecurity exists only in Java SDK products on z/OS downloads.

    If you cannot use the z/OS Java SDK, and must develop / compile on non-z/OS platform needing access to IBMZSecurity for RACFInputStream, there will be a number of manual steps / workarounds needed.




    ------------------------------
    James Tang
    ------------------------------



  • 3.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 11:42 AM
    Exactly. You  can tell me what the manual steps?
    Yes I want to compile my code in non z/OS platforms.
    Thanks
    Sharbel

    ------------------------------
    Sharbel Nasra
    ------------------------------



  • 4.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 01:39 PM
    Edited by John Lee Fri December 02, 2022 02:30 PM

    -------------------------------------------

    Original Message:
    Sent: Wed November 30, 2022 11:41 AM
    From: Sharbel Nasra
    Subject: IBM semeru open edition and IBMZSecurity provider.

    Exactly. You  can tell me what the manual steps?
    Yes I want to compile my code in non z/OS platforms.
    Thanks
    Sharbel

    ------------------------------
    Sharbel Nasra



  • 5.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 01:40 PM

    Hi Sharbel,

    I have noticed that you are trying to compile the code on Eclipse and it seems like the steps you took to start the process is good. Eclipse can be a bit wonky so here are some steps that I did to compile the code properly on Eclipse (The steps are listed in the document that is attached)


    These were all the steps that I did to compile the code on Eclipse. I hope this helps


    ------------------------------
    John Lee
    ------------------------------



  • 6.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 02:47 PM
    Hi,
    First Thanks for the instructions,

    here is my questions:
    1) Where i can find ibm.crypto.zsecurity.jmod ? is this shiped with SDK that installed on z\OS ?
    2) where i can ran these commands to extract the jmod ? is it from OMVS command line?


    Thanks,
    Sharbel

    ------------------------------
    Sharbel Nasra
    ------------------------------



  • 7.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed November 30, 2022 05:20 PM

    Hi Sharbel,

    Great questions, here are the following answers:

    1. the jmod should be located within the SDK that you installed onto your machine. It should listed under a directory called jmods if done correctly

    2. you can extract the jmod by doing a copy/paste of the file

    Hope this helps!



    ------------------------------
    John Lee
    ------------------------------



  • 8.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Thu December 01, 2022 05:26 PM
    hi John,
    Please can you send me the steps to migrate the jmod ibm.healthcenter.jmod , i think its the same steps for creating  zip and jar file, but the question is how i make the changes on eclipse for the package and source module?

    ------------------------------
    Sharbel Nasra
    ------------------------------



  • 9.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Fri December 02, 2022 12:18 PM
    Edited by John Lee Fri December 02, 2022 12:24 PM

    Hi Sharbel,

    Yes, I believe it should be the same steps in creating the jar file as you did with the zsecurity.jmod - I think you can still add it as an external jar from the Eclipse instructions specified in the doc.

    I did the same steps and it appears to be okay from my end



    ------------------------------
    John Lee
    ------------------------------



  • 10.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Fri December 02, 2022 03:05 PM
    Hi,
    But i need you to tell me how to associate it to which package and the source module i should specify in eclipse ?
    Thanks
    Sharbel

    ------------------------------
    Sharbel Nasra
    ------------------------------



  • 11.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Fri December 02, 2022 03:15 PM
    I don't think that is necessary, the steps lead to the classpath that's within the properties in the Java Build Path. I believe whatever main class you are running, you can specify the package of which that class is in, here is an example of photo of what I mean by adding it to the classpath

    ------------------------------
    John Lee
    ------------------------------



  • 12.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Wed May 03, 2023 01:33 PM

    Hi Sharbel,

    Based on feedback, we have recently published a technote related to this topic and should assist you in this development scenario.
    https://www.ibm.com/support/pages/node/6986587



    ------------------------------
    James Tang
    ------------------------------



  • 13.  RE: IBM semeru open edition and IBMZSecurity provider.

    Posted Tue December 17, 2024 10:29 AM

    Hi Sharbel,

    ,
    We value input from our users and would love the opportunity to learn more about your needs through a sponsor user feedback session. Specifically, we are looking to gather insights regarding the availability of security provider interfaces on Maven for Java development (Semeru 11+).

    These sessions typically last about an hour and provide us with a chance to ask questions, clarify your requirements, and better understand your use case. Your feedback will help us evaluate and prioritize potential improvements in this area.

    If you're interested in participating, please let us know, and we'll be happy to schedule a time that works best for you. Thanks



    ------------------------------
    John Lee
    ------------------------------