Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
CSAuthenticationException
chandraiw
I am getting this error while trying to test ContentServices Demo:
com.interwoven.cssdk.access.CSAuthenticationException:
Could_not_get_the_pass_phrase(Cannot create session string)
at com.interwoven.cssdk.access.jni.CSUserJNIServer.beginSessionUsingPassword(Native Method)
at com.interwoven.cssdk.access.jni.AccessServiceAdapterImpl.beginSessionUsingPassword(AccessServiceAdapterImpl.java:45)
at com.interwoven.cssdk.factory.CSLocalFactory.getClient(CSLocalFactory.java:81)
at TestWorkflow.main(TestWorkflow.java:123)
while trying to getClient, as in(TestWorkflow.java:123):
TestWorkflow.client = f.getClient(user1, role, password, Locale.getDefault(), appName, server);
I think we are using 'Local' authentication. Any hint as to what could be the problem here?
Thanks,
Find more posts tagged with
Comments
james1
Looks like you are using JNI instead of SOAP. That means your JVM must have read access to the passphrase file, in order to encrypt a session string. This looks like it is your problem.
The passphrase file should be found at IWHOME/private/etc/passphrase. Altering its permissions is probably not a good idea. A better idea would be to run your JVM as a user that has proper rights to read the file.
Hope this helps.
-- James
--
James H Koh
Interwoven Engineering
chandraiw
sounds promising, Thank You!
But, only iwui (and none other)has read access to 'passphrase'. Should the script be run as 'iwui' each time a CSclient needs to be instantiated?
Wondering why no-one ever faced a similar issue...
Thanks,
Chandra
james1
Sounds like you are on Solaris, so probably root also can read the file.
Relaxing the permissions could open security risks, so be careful.
Hope this helps.
-- James
--
James H Koh
Interwoven Engineering