This content has been marked as final.
Show 3 replies
-
1. Re: JBPM-2870 access current authenticatedUserId from EL
swiderski.maciej Aug 12, 2010 2:46 AM (in response to rebody)Just one question - is there anything in the environment that shall not be exposed as EL? Wondering if such items like interceptors, various sessions, etc shall be available there?!
Besides that looks good.
-
2. Re: JBPM-2870 access current authenticatedUserId from EL
rebody Aug 12, 2010 3:37 AM (in response to swiderski.maciej)Hi Maciej,
In my opinion, we just provide a simple way to access environment from EL. I had test ScriptActrviity, Everyone could get any components by invoking EnvironmentImpl.getFromCurrent(XXX.class);
If we want to limit which components user could access, we should declare another alias, And I think another alias is hard for people to understand.
-
3. Re: JBPM-2870 access current authenticatedUserId from EL
swiderski.maciej Aug 12, 2010 4:03 AM (in response to rebody)Agree, last remark - using it from EL is simpler than from java code but as you said it can be done.