Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [higgins-dev] Error with JNDI CP

Mike,
 
It looks like the script in your LDAP configuration file is incorrect.  Duane and Tom have renamed some things, as follows:
 
1. In the "consumerSubjectIDToProvider" script, change "PARAM" to "consumerID"
2. In the "providerSubjectIDToConsumer" script, change "PARAM" to "providerID"
3. The "consumerTypeToProvider" script should now be called "consumerAIDToProvider", and its "PARAM" should be changed to "consumerID".
4. The "providerTypeToConsumer" script should now be called "providerAIDToConsumer", and its "PARAM" should be changed to "providerID".
5. In the "consumerDSTypeToProvider" script, change "PARAM" to "consumerType".
6. In the "providerDSTypeToConsumer" script, change "PARAM" to "providerType".
 
I was under the impression you already had these changes, as they went in with the latest JNDI CP provider that you would have needed for the STS.  Did your ldap configuration file somehow revert back to a prior version?
 
Daniel


>>> Michael McIntosh <mikemci@xxxxxxxxxx> 5/28/2007 10:02 AM >>>
Can someone help me resolve this error?

11:58:27,667 TRACE LogHelper.trace (54): before IContext::open
11:58:28,488 ERROR JScriptExec.evaluate (?): Error evaluating script
consumerSubjectIDToProvider
org.mozilla._javascript_.EcmaError: ReferenceError: "PARAM" is not defined.
(consumerSubjectIDToProvider#4)
        at org.mozilla._javascript_.ScriptRuntime.constructError(
ScriptRuntime.java:3229)
        at org.mozilla._javascript_.ScriptRuntime.constructError(
ScriptRuntime.java:3219)
        at org.mozilla._javascript_.ScriptRuntime.notFoundError(
ScriptRuntime.java:3292)
        at org.mozilla._javascript_.ScriptRuntime.name(
ScriptRuntime.java:1570)
        at
org.mozilla._javascript_.gen.c2._c0(consumerSubjectIDToProvider:4)
        at org.mozilla._javascript_.gen.c2.call(consumerSubjectIDToProvider)
        at org.mozilla._javascript_.ContextFactory.doTopCall(
ContextFactory.java:340)
        at org.mozilla._javascript_.ScriptRuntime.doTopCall(
ScriptRuntime.java:2758)
        at org.mozilla._javascript_.gen.c2.call(consumerSubjectIDToProvider)
        at org.mozilla._javascript_.gen.c2.exec(consumerSubjectIDToProvider)
        at org.bandit.util.jscript.JScriptExec.evaluate(Unknown Source)
        at
org.bandit.util.jscript.JScriptExecHelper.evaluateToString(Unknown Source)
        at
org.bandit.util.jscript.JScriptExecHelper.evaluateToString(Unknown Source)
        at
org.bandit.util.jscript.JScriptExecHelper.transformString(Unknown Source)
        at
org.eclipse.higgins.idas.cp.jndi.JNDIContext.consumerSubjectIDToProvider(
JNDIContext.java:1777)
        at org.eclipse.higgins.idas.cp.jndi.JNDIContext.open(
JNDIContext.java:510)
        at
org.eclipse.higgins.sts.server.token.identity.DigitalIdentityHandler.invoke(
DigitalIdentityHandler.java:307)
        at
org.eclipse.higgins.sts.server.token.compound.CompoundHandler.invoke(
CompoundHandler.java:100)
        at
org.eclipse.higgins.sts.server.trust.SecurityTokenService.invoke(
SecurityTokenService.java:156)
        at org.eclipse.higgins.sts.client.samples.TestPersonal.Run(
TestPersonal.java:116)
        at org.eclipse.higgins.sts.client.samples.TestPersonal.main(
TestPersonal.java:37)
Returning STS Fault
11:58:28,508 ERROR LogHelper.error (102):
org.bandit.util.jscript.JScriptException: evaluateToString helper
encountered a problem
11:58:28,508 ERROR LogHelper.error (102):
org.eclipse.higgins.idas.api.IdASException:
org.bandit.util.jscript.JScriptException: evaluateToString helper
encountered a problem
11:58:28,508 ERROR LogHelper.error (102):
org.eclipse.higgins.idas.cp.jndi.JNDIContext::consumerSubjectIDToProvider
JNDIContext.java:1782
11:58:28,508 ERROR LogHelper.error (102):
org.eclipse.higgins.idas.cp.jndi.JNDIContext::open JNDIContext.java:510
11:58:28,508 ERROR LogHelper.error (102):
org.eclipse.higgins.sts.server.token.identity.DigitalIdentityHandler::invoke
DigitalIdentityHandler.java:307
11:58:28,518 ERROR LogHelper.error (102):
org.eclipse.higgins.sts.server.token.compound.CompoundHandler::invoke
CompoundHandler.java:100
11:58:28,518 ERROR LogHelper.error (102):
org.eclipse.higgins.sts.server.trust.SecurityTokenService::invoke
SecurityTokenService.java:156
11:58:28,518 ERROR LogHelper.error (102):
org.eclipse.higgins.sts.client.samples.TestPersonal::Run
TestPersonal.java:116
11:58:28,518 ERROR LogHelper.error (102):
org.eclipse.higgins.sts.client.samples.TestPersonal::main
TestPersonal.java:37
11:58:28,518 TRACE LogHelper.trace (54): Returning STS Fault
_______________________________________________
higgins-dev mailing list
higgins-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/higgins-dev

Back to the top