<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013/1/21 18:38, Stephen Masters
wrote:<br>
</div>
<blockquote cite="mid:89C2F732-54CB-43DE-9441-82FCA512701A@me.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>Thanks Jervis,</div>
<div><br>
</div>
<div>In that case, it sounds like the issue might be with the use
of the default JAAS authenticator. In which case, does using a
custom authenticator fix the issue?</div>
<div><br>
</div>
<div>For instance, I knocked this one up to support single sign-on
to Guvnor on RHEL from users on Windows 7 (Active Directory):</div>
<div><a moz-do-not-send="true"
href="https://gist.github.com/4545962">https://gist.github.com/4545962</a></div>
<div><br>
</div>
<div>I have only tested it on 5.3 though, so I can't be sure
whether it resolves the 5.4 issue.</div>
</blockquote>
It is likely that a custom authenticator wont work. This is because
the user and password does not get passed into the authenticator
correctly, which is caused by a Seam 3 security bug:
<a class="moz-txt-link-freetext" href="https://issues.jboss.org/browse/SEAMSECURITY-98">https://issues.jboss.org/browse/SEAMSECURITY-98</a><br>
<br>
Cheers,<br>
Jervis<br>
<blockquote cite="mid:89C2F732-54CB-43DE-9441-82FCA512701A@me.com"
type="cite">
<div><br>
</div>
<div>Steve</div>
<div><br>
</div>
<br>
<div>
<div>On 21 Jan 2013, at 01:10, Jervis Liu <<a
moz-do-not-send="true" href="mailto:jliu@redhat.com">jliu@redhat.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013/1/17 18:46, Stephen
Masters wrote:<br>
</div>
<blockquote
cite="mid:E2894F5E-5CA1-4BF3-B0B6-E5F96726D853@me.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>Hi folks,</div>
<div><br>
</div>
<div>Just curious, but do you have a link to the Jira
relating to this authentication issue? I'm keen to find
the details.</div>
</blockquote>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://issues.jboss.org/browse/GUVNOR-1986">https://issues.jboss.org/browse/GUVNOR-1986</a><br>
<br>
<blockquote
cite="mid:E2894F5E-5CA1-4BF3-B0B6-E5F96726D853@me.com"
type="cite">
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Steve</div>
<div><br>
</div>
<br>
<div>
<div>On 17 Jan 2013, at 07:01, Jervis Liu <<a
moz-do-not-send="true" href="mailto:jliu@redhat.com">jliu@redhat.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013/1/16 12:28,
Yuri wrote:<br>
</div>
<blockquote
cite="mid:CAJ4=o59cX-Aygk0pSdJFFG=hHJ6n1HwN-uT5t-LQRDt4aPegHQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hmm - I may try that. So you think
I would install 5.3, import one of my 5.5
repositories, merge in packages from the other
5.5 repository, and then export that repository
to be re-imported in 5.5? <br>
</div>
</blockquote>
Yes, it should be doable.<br>
<blockquote
cite="mid:CAJ4=o59cX-Aygk0pSdJFFG=hHJ6n1HwN-uT5t-LQRDt4aPegHQ@mail.gmail.com"
type="cite">
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Tue, Jan 15, 2013 at
9:28 PM, Jervis Liu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jliu@redhat.com"
target="_blank">jliu@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div class="im">
<div>On 2013/1/16 11:12, Yuri wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Thanks for the quick
reply, Jervis. We are basically in
discovery/presentation mode with our
BRMS, and we have several different
people doing different things with
their own instances of guvnor (not
how it's going to be in the end).
We're trying to merge the work ppl
have been doing into a central
guvnor repository, so copying
packages from one to the other w/o
blowing away the whole repository is
the only way we've thought of doing
this so far. Do you have any ideas
for a work-around?</div>
</blockquote>
</div>
Given the fact the authentication problem
has not been fixed yet in Guvnor 5.4 and
5.5 (but will be very soon), the only
workaround I can think of right now is
using Guvnor 5.3. You can merge assets
under 5.3. Then upgrade guvnor with the
merged repository to 5.4 or 5.5. <br>
<span class="HOEnZb"><font color="#888888">
<br>
Jervis</font></span>
<div>
<div class="h5"><br>
<blockquote type="cite">
<div dir="ltr">
<div> Thanks,</div>
<div>Yuri</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue,
Jan 15, 2013 at 8:50 PM, Jervis
Liu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:jliu@redhat.com"
target="_blank">jliu@redhat.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div text="#000000"
bgcolor="#FFFFFF">
<div>
<div>On 2013/1/16 2:52,
Yuri wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi
Everyone,
<div>I am having to
move assets from one
repository to
another, and if
WebDav would work
for me, I believe
that it would be the
easiest solution. </div>
<div>I have the
default security
setup that comes
with guvnor 5.5.0
and JBoss AS 7, and
I absolutely could
not figure out any
way to connect from
Windows 7. <br>
</div>
</div>
</blockquote>
</div>
Guvnor 5.4 and 5.5 has a
known authentication problem
which affects WebDav access.
If you just want to move
assets from one repo to
another, you can try
exporting guvnor repository
as xml file then importing
again, will this approach
work for you?<br>
<br>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<div>I was finally
able to connect to
webDav with
BitKinex, however,
I cannot upload
anything - I can
download files
just fine, but
when I try to
upload, I get the
following error on
my server. Am I
missing something?</div>
<div>Thanks,</div>
<div>Yuri</div>
<div><br>
</div>
<div>Error:</div>
<div>
<div>12:08:00,344
ERROR
[org.drools.repository.RulesRepository]
(http--127.0.0.1-8080-7)
Unable to load a
module. :
javax.jcr.PathNotFoundException:
<b>MyNewAsset.txt</b></div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2135)
[jackrabbit-core-2.2.8.jar:2.2.8]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2129)
[jackrabbit-core-2.2.8.jar:2.2.8]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)[jackrabbit-core-2.2.8.jar:2.2.8]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
[jackrabbit-core-2.2.8.jar:2.2.8]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2129)
[jackrabbit-core-2.2.8.jar:2.2.8]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.repository.RulesRepository.loadModule(RulesRepository.java:435)[guvnor-repository-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.repository.RulesRepository$Proxy$_$$_WeldClientProxy.loadModule(RulesRepository$Proxy$_$$_WeldClientProxy.java)[guvnor-repository-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.guvnor.server.files.WebDAVImpl.loadPackageFromRepository(WebDAVImpl.java:912)[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.guvnor.server.files.WebDAVImpl.getStoredObjectForReadOnlyPackages(WebDAVImpl.java:473)[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.guvnor.server.files.WebDAVImpl.getStoredObject(WebDAVImpl.java:409)[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.guvnor.server.files.WebDAVImpl$Proxy$_$$_WeldClientProxy.getStoredObject(WebDAVImpl$Proxy$_$$_WeldClientProxy.java)[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
net.sf.webdav.methods.DoPut.execute(DoPut.java:101)
[webdav-servlet-2.0.1.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
net.sf.webdav.WebDavServletBean.service(WebDavServletBean.java:129)
[webdav-servlet-2.0.1.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.drools.guvnor.server.files.WebdavServlet.service(WebdavServlet.java:73)[guvnor-webapp-core-5.5.0.Final.jar:5.5.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
[weld-core-1.1.5.AS71.Final.jar:2012-02-10
15:31]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)[solder-impl-3.1.1.Final.jar:3.1.1.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)[solder-impl-3.1.1.Final.jar:3.1.1.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)[jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
[jbossweb-7.0.13.Final.jar:]</div>
<div><span
style="white-space:pre-wrap">
</span>at
java.lang.Thread.run(Unknown
Source)
[rt.jar:1.6.0_35]</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org"
target="_blank">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/rules-users"
target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
rules-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</body>
</html>