[Design of JBoss jBPM] - Re: Identity management docs
by tom.baeyens@jboss.com
no. there is no way to specify authorization in the process language. and hence there are no authrorization checks.
but there is authentication. things like logs require authentication. to keep track of who did what. the JbpmContext has a property actorId. JbpmContext delegates to an AuthenticationService to get the actorId.
The simplest way to get the actorId in the JbpmContext is to use jbpmContext.setActorId(String).
An idea could be to implement a JaasAuthenticationService. That one could look up the subject from the current thread, take the main principal and get its name. That principal name could be used as the actorId in the JbpmContext.
This will work for WS requests. But I don't know if this will work for other requests like ejb invocations and web requests. I'm not even sure if authentication is required all the time. If you have time, it could be an option to explore.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126470#4126470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126470
18 years, 2 months
[Design of POJO Server] - Re: Facelets scanning for .taglib.xml is broken in trunk
by charles.crouch@jboss.com
Ok stupid question: How does this problem manifest itself?
I'm not seeing anything obvious (e.g. web app not displaying, exceptions in the log) yet we're using facelets? I am seeing this though which looks kind of odd (taglibs getting loaded twice):
| 14:10:59,828 ERROR [STDERR] Feb 4, 2008 2:10:59 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: vfsfile:/C:/usr/apps/jboss/jboss-5.0.0.r69477/server/default/deploy/embedded-console.war/WEB-INF/lib/jboss-seam-ui-2.0.1.GA.jar/META-INF/s.taglib.xml
| 14:10:59,828 ERROR [STDERR] Feb 4, 2008 2:10:59 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/usr/apps/jboss/jboss-5.0.0.r69477/server/default/tmp/deploy/embedded-console51602-exp.war/WEB-INF/lib/jboss-seam-ui-2.0.1.GA.jar!/META-INF/s.taglib.xml
| 14:11:01,750 ERROR [STDERR] Feb 4, 2008 2:11:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: vfsfile:/C:/usr/apps/jboss/jboss-5.0.0.r69477/server/default/deploy/embedded-console.war/WEB-INF/lib/jsf-facelets-1.1.14.jar/META-INF/jsf-core.taglib.xml
| 14:11:01,859 ERROR [STDERR] Feb 4, 2008 2:11:01 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/C:/usr/apps/jboss/jboss-5.0.0.r69477/server/default/tmp/deploy/embedded-console51602-exp.war/WEB-INF/lib/jsf-facelets-1.1.14.jar!/META-INF/jsf-core.taglib.xml
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126404#4126404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126404
18 years, 2 months