Skip to Content
0

Agentry client for IOS extension

Feb 20, 2017 at 04:10 PM

103

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Bill Froelich
Feb 20, 2017 at 05:56 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Christian Janson Feb 21, 2017 at 10:30 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded