Re: [rules-users] Drools Guvnor and jboss single sign on
2009/12/10 Paul R. reverselo...@gmail.com: It's very easy to create a custom authentication module for Seam. In my organization, we've created a simple module which will check the session for an existing user object. Just have to put it on your classpath and edit the components.xml to use your class as its authenticator. Perhaps something like this will work for you? Thank you. However this is not working. I have created a custom authenticator as you said and put in WEB-INF/classes, but that is not getting invoked. I was just going through the Guvnor web.xml file, I don't see any security-constraints there. So that means Guvnor does not use standard JAAS security for authentication. Is that the reason, the custom authenticator is not getting invoked? Thanks, -- S. Argue with idiots, and you become an idiot. - PG ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools Guvnor and jboss single sign on
Did you also edit your drools-guvnor.war\WEB-INF\components.xml to point to your authenticator? security:identity authenticate-method=#{customAuthenticator.authenticate}/ 2009/12/10 Sahid Khan (সাহিদ) sahid...@gmail.com 2009/12/10 Paul R. reverselo...@gmail.com: It's very easy to create a custom authentication module for Seam. In my organization, we've created a simple module which will check the session for an existing user object. Just have to put it on your classpath and edit the components.xml to use your class as its authenticator. Perhaps something like this will work for you? Thank you. However this is not working. I have created a custom authenticator as you said and put in WEB-INF/classes, but that is not getting invoked. I was just going through the Guvnor web.xml file, I don't see any security-constraints there. So that means Guvnor does not use standard JAAS security for authentication. Is that the reason, the custom authenticator is not getting invoked? Thanks, -- S. Argue with idiots, and you become an idiot. - PG ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools Guvnor and jboss single sign on
2009/12/10 Paul R. reverselo...@gmail.com: Did you also edit your drools-guvnor.war\WEB-INF\components.xml to point to your authenticator? security:identity authenticate-method=#{customAuthenticator.authenticate}/ Yes I did. It fails with the following message in the console: 15:12:49,760 INFO [STDOUT] ERROR 10-12 15:12:49,759 (SecurityServiceImpl.java:login:73) javax.security.auth.login.LoginException: Login Failure: all modules ignored Does that give any clue? -- S. Argue with idiots, and you become an idiot. - PG ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Unable to see Rules Debugging info in Drools IDE
I don't see any debugging views enabled in debug drools application mode as described in the http://downloads.jboss.com/drools/docs/5.0.1.26597.FINAL/drools-expert/html_single/index.html#d0e6947 docs It just runs as a normal java debugging applications and the Agenda, Working Memory sections are empty. Suggestions/ -- View this message in context: http://n3.nabble.com/Unable-to-see-Rules-Debugging-info-in-Drools-IDE-tp73243p73243.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Dynamic fact generation
Hello, The facts I need for Guvnor is dynamic in nature. These facts will be based on objects modified by another application. I was thinking if I can call Guvnor from the other application to create/update these facts directly? -- S. Argue with idiots, and you become an idiot. - PG ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Dynamic fact generation
Hello, Please ignore my previous mail. The facts I need for Guvnor is dynamic in nature. These facts will be based on objects modified by another application. I was thinking if I can call Guvnor from the other application to create/update these facts directly? Is that possible? What should the approach be? Any help will be appreciated. Many thanks in advance, -- S. Argue with idiots, and you become an idiot. - PG ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Starting ruleflow on event
I'm using Drools 5.0.1 and have read in the online documentation that i can start a process on event: Events could also be used to start a process. Whenever a Start node defines an event trigger of a specific type, a new process instance will be started every time that type of event is signalled to the process engine. However, I cannot find a property on the Start activity that exposes this functionality. Am I missing something? -- View this message in context: http://n3.nabble.com/Starting-ruleflow-on-event-tp73368p73368.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Using work items in the Eclipse ruleflow editor
I've been attempting to contribute my own work item following the instructions on this post and the drools flow user guide to no avail. I'm using Drools 5.0.1 in Eclipse which I added as a plugin using the software updates. (checking the plugins folder I only have org.drools.eclipse_5.0.1 org.drools.eclipse.task_5.0.1; i'm not sure if that has anything to do with it) I've created a new drools project and created the resources directory as a source directory and created the META-INF directory and put the necessary files in the directory. along with an icons package. Any insight? Jeremy Ary wrote: Mike, I ran into a similar issue when I began working with ruleflows a few weeks ago. Some of this may not be necessary and it's certainly not all causal, but this was what I noted when working my issue out: 1) If you're working in JBoss Dev Studio, it's possible that you have a conflict between the code you added as a runtime and what's already there, so try the process with a fresh install of eclipse 2) Ensure that any projects you currently have open do not have build/lib/classpath issues (I had the drools projects checked out and open and build errors caused unnecessary complications for me) 3) Be sure that your project has a META-INF on the classpath and that it's set up correctly 4) Place your drools.rulebase.conf custom definitions .conf that it looks for are both in your META-INF under resources (src/main/resources/META-INF ) 5) Once you're sure this much is correct, give Eclipse a restart - my project did not pick up my custom WI's until I restarted If you're still having issues, I'll be on the IRC channel for the next 5 hours or so as jary - feel free to reply here or look me up there. (well, I'm heading to lunch very soon, so back in around an hour) Jeremy - Original Message - From: Mike Gill mg...@modusoperandi.com To: rules-users@lists.jboss.org Sent: Monday, September 21, 2009 11:27:46 AM GMT -06:00 US/Canada Central Subject: [rules-users] Using work items in the Eclipse ruleflow editor I am using Eclipse to build my Drools rulefow file. I am trying to add custom work items, but I cannot seem to get anything (other than Email and Log) to show up in my Work Items palette. Does anyone know how to get the existing work items (such as FileFinder or Exec) to show up on the palette in eclipse? Eventually I will need to add custom work items to the flow, so this is make-or-break Drools functionality for my team. In pursuit of a solution to this I have combed the documentation, this mailing list archive, as well as endless Google results to no avail. Any help would be very valuable! Thanks, Mike ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- View this message in context: http://n3.nabble.com/Re-Using-work-items-in-the-Eclipse-ruleflow-editor-tp61081p73373.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] call a method in web guided decision table?
Hi, I am trying to use the web guided decision table to create my rules, however, in the Action section, I couldn't call a static method from a utility class. The only option I see in the drop down is set field which is not what I wanted. Any ideas? Thanks ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Human Task Work Item - Activation Time
Hi, If a human task once in Reserved state is released it goes in the Ready state and then if claimed by a potential owner - should the activation time of the task change or not? If not is there any way to identify that at what time the task was claimed by another potential owner. Thanks Vijay ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users