Skip to Content
avatar image
Former Member

Agentry client for IOS extension

Hi experts,

I'm trying to extend the Agentry Client for iOS (sending a client certifcate to an external facing SMP reverse proxy). I was able to compile and start the Project SMPAgentryClientFrameworkSetup. The Agentry client starts and shows the default login screen. So far so good. Now I tried to extend the Agentry client with a custom Login screen, using the sample SMPOpenUICredentialProviderSystemLoginWithUI. I have renamed all 4 files SMPOpenUICredentialProvider.* according to OpenUI SMPOpenUICredentialProvider (iOS)

and copied and added them to the project

When I start now the application again, I would expect that the login screen looks like in the screenshot above on the right side, but it is still showing the default login screen:

Do you have any idea what't going wrong here?

The documentation ( OpenUI Installation Instructions (iOS) ) is just saying "You can now start adding code for your custom adapters, and the Agentry Client will pick them up dynamically."

Any help would be appreciated.

Regards,

Christian

xcode.jpg (106.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 20, 2017 at 05:56 PM

    That is working exactly as expected. The credentials screen will be triggered with your client initiates a transmit to the server. Since the Agentry client will work offline, there is no need to prompt for the certificate until the connection is established to the reverse proxy.

    For the first login you will enter your credentials and then be prompted for the server URL. I would then expect your certificate screen to appear next.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 21, 2017 at 10:30 AM

    Hi Bill,

    thanks a lot, you are right.

    I had just to change the method "authenticatesForAuthType" from ADAPTER_HTTP_HEADER to ADAPTER_SSL_CERTIFICATE.

    I had a breakpoint set here which was never reached for some reason, but now it works.

    Regards,

    Christian

    Add comment
    10|10000 characters needed characters exceeded