While calling authapi-8.6.jar in EclipseJuno IDE , following error is coming for missing dependency . Sample code run is successful , but call from mavenized environment issues is coming
[2017-04-04 20:14:50,939] FATAL http-/10.40.130.87:8080-5 - Exception unmarshalling type: java.lang.Class Exception: com.sun.xml.internal.bind.v2.ContextFactory
RSA API is downloaded from following : https://community.rsa.com/docs/DOC-53593
RSA SecurID Authentication Agent API 8.6 for Java
Dependency is called inside in authapi-8.6.jar inside JAXB.properties
javax.xml.bind.context.factory=com.sun.xml.internal.bind.v2.ContextFactory
Request you to please provide solution
Reference case no : 00966273
Did you follow the Dev Guide instructions concerning java security policy files?
If you have already done this, I would recommend opening a support case to troubleshoot further.
Configure Message Key Negotiation
To configure message key negotiation, you must copy RSA JSafe jar files and download policy files to utilize the encryption and decryption functionalities of the JCE framework.
1. From the <kit_root>/lib folder, copy certj-6.1.jar, sslj-6.1.0.1.jar, cryptojce-6.1.3.3.jar, cryptojcommon-6.1.3.3.jar, and jcmFIPS-6.1.3.3.jar to the following location.
o <JAVA_HOME>/jre/lib/ext/
2. Edit the <JAVA_HOME>/jre/lib/security/java.security file so that the two RSA security providers are listed first.
o security.provider.1=com.rsa.jsafe.provider.JsafeJCE
security.provider.2=com.rsa.jsse.JsseProvider
3. To use the encryption and decryption functionalities of the JCE framework without any limitation, download the policy jar files for your Java virtual machine (JVM).
o If you are using the Oracle JDK 1.6, download the JCE Unlimited Strength Jurisdiction Policy Files 6.
http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
o If you are using the Oracle JDK 1.7 or OpenJDK 1.7, download the JCE Unlimited Strength Jurisdiction Policy Files 7.
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
o If you are using the Oracle JDK 1.8, download the JCE Unlimited Strength Jurisdiction Policy Files 8.
http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
4. Unzip the policy jar files, and copy the unlimited policy files US_export_policy.jar and local_policy.jar to the lib/security folder of the JDK installation. For example:
o <JAVA_HOME>/jre/lib/security directory