[jboss-user] [jBPM] - Re: Disabling DemoAuthenticator proving difficult for drools-guvnor web access
user111
do-not-reply at jboss.com
Tue Aug 14 05:54:32 EDT 2012
user111 [https://community.jboss.org/people/user111] created the discussion
"Re: Disabling DemoAuthenticator proving difficult for drools-guvnor web access"
To view the discussion, visit: https://community.jboss.org/message/753514#753514
--------------------------------------------------------------
So, I've done some more digging.
jbpm-5.3.0.Final-installer-full.zip contains the war files for drools-guvnor, designer, jbpm-form-builder etc.
To modify beans.xml to enable drools-guvnor authorisation, requires unjar'ing the drools-guvnor.war.
So I've done that, modified beans.xml as per: http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html/ch14.html http://docs.jboss.org/drools/release/5.4.0.Final/drools-guvnor-docs/html/ch14.html and redeployed the jar.
These are the changes I've made in beans.xml:
<!-- JAAS based authentication -->
<security:authenticatorName>jaasAuthenticator</security:authenticatorName>
<security:jaas.JaasAuthenticator>
<s:modifies/>
<!--
The following one will use the jaas configuration called "other",
which in jboss AS means you can use properties files for users.
-->
<jaasConfigName>other</jaasConfigName>
</security:jaas.JaasAuthenticator>
Now, when I start drools-guvnor I get the following errors:
05:20:50,442 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"drools-guvnor.war\".WeldService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"drools-guvnor.war\".WeldService: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
Exception 0 :
java.lang.Exception
at org.jboss.solder.config.xml.bootstrap.XmlConfigExtension.beforeBeanDiscovery(XmlConfigExtension.java:121)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/753514#753514]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120814/2b6ff64b/attachment.html
More information about the jboss-user
mailing list