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.

[284 byte] By [heregoesthesuna] at [2007-11-27 10:12:41]
# 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>

banti_idma at 2007-7-28 15:21:54 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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>

banti_idma at 2007-7-28 15:21:54 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

LocalSession is not an interface, it's a class.

so you can try the following.

<new class='com.waveset.session.LocalSession'/>

nishasooryaa at 2007-7-28 15:21:54 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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.

heregoesthesuna at 2007-7-28 15:21:54 > top of Java-index,Web & Directory Servers,Directory Servers...