SAP has published a great Note: 2642538 - How to enable SNC from external java program to ABAP using standalone JCo3 showing the steps needed on Windows.
This Java Demo program is based on the SAP Community Blogs:
- Setup data encryption between RFC Client and Web AS ABAP with SNC
- Single Sign On with External ID implemented in Ruby
You can get the required components at:
To detect if the user session is using SNC you can either use transaction SM04, select the session and choose User -> Technical Info. In the resulting list you should find an entry:
snc_count 1
As an alternative you can install Report ZSM04000_SNC / ZRSUSR000_620 – Show SNC status of current user sessions.