Re: [rules-users] Autologin into Guvnor from application bypassing guvnor's login page

2010-07-20 Thread G3

It was my assumption that LoginWidget.java is the login page where button
click is invoked for Guvnor but when I tried with debugger I could login but
that class was not called at all.
Which class is invoking SecurityServiceServlet.java - login() method? Can
anyone pls help.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Autologin-into-Guvnor-from-application-bypassing-guvnor-s-login-page-tp972281p981108.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] Retrieve rule names fired from StatefulknowledgeSession

2010-07-16 Thread G3

Hi
Thanks for your reply.I got the rule names fired from the event listener
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Retrieve-rule-names-fired-from-StatefulknowledgeSession-tp969508p971735.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] Autologin into Guvnor from application bypassing guvnor's login page

2010-07-16 Thread G3

Hi
 In my application web page i have link to guvnor application
http://localhost:8081/drools-guvnor;
I have the user name and password of users logged into the application . 
How can the user get the welcome: user_name page automatically on clicking
the guvnor link i.e; bypassing the login page of the guvnor ? 
Can i pass the name and password as query string into guvnor? 
Can someone help me on this

-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Autologin-into-Guvnor-from-application-bypassing-guvnor-s-login-page-tp972281p972281.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] Error downloading guvnor source from svn

2010-07-16 Thread G3

Hi
I am trying to download guvnor source.This is the first time I am trying
this.I have installed svn and tried to checkout but I am getting the
following error


C:\svn checkout
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-guvnor/
svn: PROPFIND request failed on
'/repos/labs/labs/jbossrules/trunk/drools-guvnor
'svn: PROPFIND of '/repos/labs/labs/jbossrules/trunk/drools-guvnor': Could
not re
solve hostname `anonsvn.jboss.org': The requested name is valid and was
found in
 the database, but it does not have the correct associated data being
resolved f
or.   (http://anonsvn.jboss.org)

Can someone tell me where I have gone wrong?
Do I need to set classpath or enter ip for the domain name?

-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Error-downloading-guvnor-source-from-svn-tp972652p972652.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] Retrieve rule names fired from StatefulknowledgeSession

2010-07-15 Thread G3

Hi

I have retrieved the package from guvnor url and fired the rules using 
statefulsession.fireallrules()
I can get the number of rules fired, all the rule names from the guvnor for
the model 
but how can I get the names of the rules that is fired.Is there any way to
get it from the session? As my requirement needs that many users may run the
application (not the guvnor application )at the same time so each set of
rules will vary depending on the user who has logged in.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Retrieve-rule-names-fired-from-StatefulknowledgeSession-tp969508p969508.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] Get authorized users rules only into application

2010-07-13 Thread G3

Hi 
Thanks for your reply.There can be any number of users through AD
connection.
Can I get all the drools user names and authorization rights into my
application?
Also can I get the user who created the rule as displayed in guvnor into my
application. Is there any restlet that can be used?
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Get-authorized-users-rules-only-into-application-tp959652p962828.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] Get authorized users rules only into application

2010-07-13 Thread G3

Hi
Thanks for your reply.
I guess I have to use separate guvnor with a single package for each user
only.
The webdav shows only the packages and snapshots not the authorization
details. 

-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Get-authorized-users-rules-only-into-application-tp959652p965533.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] Get authorized users rules only into application

2010-07-12 Thread G3

Hi all

I am able to get the entire LATEST package from the package URL from guvnor
into my application.
But this means any user can run all rules. I want to retrieve the rules
created by the user in guvnor when the user logs in into my application 
or else
the user can only run the rules through my application that he has
permission to access in guvnor . Can anyone suggest me a good material to
look up or help me on the same. 
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Get-authorized-users-rules-only-into-application-tp959652p959652.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] Connection with Active Directory multiple organizational units

2010-07-01 Thread G3

Hi all

I got the multiple Organizational Units connection in AD in jboss 4.2.3
itself . Apparently my login-config.xml was not correctly configured.It is
working fine now.
 
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p935788.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] Connection with Active Directory multiple organizational units

2010-06-24 Thread G3

Hi

I tried as you suggested by deploying Guvnor 5.1.0.M2 in Jboss5.1 G.A .When
I tried connection with single organization unit connection in Active
Directory but i get this message
The requested resource (/drools-guvnor/) is not available.
my console shows:

467 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.
467 ERROR [STDERR] SLF4J: Found binding in
[vfszip:/D:/Drools-jboss/jboss-5.1.0.GA/server/default/deploy/drools-guvnor.war/WEB-INF/lib/slf4j-log4j12-1.5.10.jar/org/slf4j/impl/StaticLoggerBinder.class]
467 ERROR [STDERR] SLF4J: Found binding in
[vfszip:/D:/Drools-jboss/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
467 ERROR [STDERR] SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
949 INFO  [STDOUT] INFO  25-06 10:59:03,933 (MailboxService.java:init:45)  
Starting mailbox service
949 INFO  [STDOUT] INFO  25-06 10:59:03,949 (MailboxService.java:wakeUp:52)
Waking up
997 INFO  [STDOUT] INFO  25-06 10:59:03,997
(MailboxService.java:processOutgoing:62)Processing outgoing messages
093 INFO  [STDOUT] DEBUG 25-06 10:59:04,093
(MailboxService.java:processOutgoing:66)Outgoing messages size 0
125 INFO  [STDOUT] DEBUG 25-06 10:59:04,125 (MailboxService.java:process:72)   
Processing any inbound messages for mailman
141 INFO  [STDOUT] DEBUG 25-06 10:59:04,125 (MailboxService.java:process:72)   
Processing any inbound messages for user1
258 INFO  [TomcatDeployment] undeploy, ctxPath=/drools-guvnor
842 INFO  [TomcatDeployment] deploy, ctxPath=/drools-guvnor
710 ERROR [STDERR] SLF4J: Class path contains multiple SLF4J bindings.

===
I removed the slf4j-api.jar from common/lib folder but still i get the same
requested resource is not found error page and not the login page.


Thanks in advance.


-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p921311.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] Connection with Active Directory multiple organizational units

2010-06-19 Thread G3

I am able to authenticate with Active Directory but with only a single
organizational unit but not with users of multiple organizational units
This is my organizational structure
+cn=test,cn=con
--+ou=Sample1
-uid:user1,uid:user2
--+ou=Sample2
-uid:user3,uid:user4
--+roles
-admin:uid:user1,user3
-user:uid:user2,user4

I have set the admin rights accordingly in Guvnor.
I am using Jboss Guvnor standalone 4.2.3  and I am trying to connect
multiple organizational units using JAAS 
 my login-config.xml
-
application-policy name=adConnection 
 authentication 
 login-module code=org.jboss.security.auth.spi.LdapExtLoginModule
flag=required  
 module-option
name=java.naming.provider.urlldap://c.test.com:389//module-option 
 module-option
name=java.naming.security.authenticationsimple/module-option 
 module-option
name=bindDNCN=Administrator,CN=Users,dc=test,dc=com/module-option 
 module-option name=bindCredentialpassword/module-option 
 module-option name=baseCtxDNOU=Sample1,dc=test,dc=com/module-option 
 module-option name=baseFilter(CN={0})/module-option 
 module-option name=rolesCtxDNOU=roles,dc=test,dc=com/module-option 
 module-option name=uidAttributeIDmember/module-option 
 module-option name=matchOnUserDNtrue/module-option 
 module-option name=roleFilter(member={1})/module-option 
 module-option name=roleAttributeIDCN/module-option 
 module-option name=roleRecursion-1/module-option 
 /login-module 
login-module code=org.jboss.security.auth.spi.LdapExtLoginModule
flag=required  
 module-option
name=java.naming.provider.urlldap://c.test.com:389//module-option 
 module-option
name=java.naming.security.authenticationsimple/module-option 
 module-option
name=bindDNCN=Administrator,CN=Users,dc=test,dc=com/module-option 
 module-option name=bindCredentialpassword/module-option 
 module-option name=baseCtxDNOU=Sample2,dc=test,dc=com/module-option 
 module-option name=baseFilter(CN={0})/module-option 
 module-option name=rolesCtxDNOU=roles,dc=test,dc=com/module-option 
 module-option name=uidAttributeIDmember/module-option 
 module-option name=matchOnUserDNtrue/module-option 
 module-option name=roleFilter(member={1})/module-option 
 module-option name=roleAttributeIDCN/module-option 
 module-option name=roleRecursion-1/module-option 
 /login-module 
 /authentication 
/application-policy 

and my component.xml
-
security:identity authenticate-method=#{authenticator.authenticate} 
  jaas-config-name=adConnection/

I donot get any  errors in server console during deployment but when login
,I cannot login into Guvnor and I get password or user name incorrect.Can
some one help me out  



-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Connection-with-Active-Directory-multiple-organizational-units-tp907892p907892.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