session in workflow
Hi!
I know with ":display.session" in workflows doesn't work. But with <invoke class='getLighthouseContext'><ref>WS_CONTEXT</ref></invoke> ; only I can get an InternalSession, but I need the "LocalSession", How can I get this in a workflow?
Thanks.
# 1
try with this
<Rule name='getAdminSession'>
<invoke name='getSession' class='com.waveset.session.SessionFactory'>
<invoke name='getSubject'>
<new class='com.waveset.server.InternalSession'/>
<s>#ID#Configurator</s>
</invoke>
<s>Admin</s>
<s>Administrator Interface</s>
</invoke>
</Rule>
# 2
try with this
<Rule name='getAdminSession'>
<invoke name='getSession' class='com.waveset.session.SessionFactory'>
<invoke name='getSubject'>
<new class='com.waveset.server.InternalSession'/>
<s>#ID#Configurator</s>
</invoke>
<s>Admin</s>
<s>Administrator Interface</s>
</invoke>
</Rule>
# 3
LocalSession is not an interface, it's a class.
so you can try the following.
<new class='com.waveset.session.LocalSession'/>
# 4
Ok, banti_idm:
It's correct but, is there another way to get LotalSession without inform 'Configurator' or another account ?
Thank you very much for your support.