Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8523865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:31:54+00:00 2026-06-11T07:31:54+00:00

This one is really driving me nuts. I have a Guvnor inside JBoss AS

  • 0

This one is really driving me nuts.

I have a Guvnor inside JBoss AS (more on versions later). I have edited the components.xml to enable authentication (with JAAS, I have the users and passwords set up just fine) and role based permission. I have an ‘admin’ user with full privileges and an ‘agent’ user, with read-only permissions. So far so good, in Guvnor I can see the users and proper privileges, from browsers I can login with the ‘admin’ user to upload rules and such, and I can download changeset.xmls and binaries with the ‘agent’ user.

Now, from a Java application I set up a knowledge agent. In the UrlResource, I set up the username (‘agent’) and password. The changeset downloads just fine, however, the changeset.xml refers to other resources (such as PKG). Downloading them fails (HTTP 401). Seems like Drools forgets about my credentials in the way.

Editing the changeset.xml by hand, and adding enableBasicAuthentcation, username and password – it works fine. But this is not the way to go, really.

I have been looking for either solution: a) see some option panel in Guvnor, so that I can set up what to embed in changeset.xml automatically when deploying packages b) find a way, so the credentials are passed around in my Java project so everything works.

Now, I tried Drools 5.1.1, 5.2.FINAL, 5.3.CR1, looked through the documentation of these versions. The only remark I found was in the 5.3 docs: “The User ID and Password in the change-set should be consistent with the requirements of the Authenticator configured in components.xml.” – thank you, I understand, but how to do that? “Please refer to the “Security – Authentication and basic access” section of the “Administration Guide” for more details.” I did and found nothing.

So really, what am I missing, or what am I doing wrong? Is really the only way to solve this is not to use authentication? Or edit changeset.xmls by hand at every change?

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:31:55+00:00Added an answer on June 11, 2026 at 7:31 am

    There’s a workaround posted here

    [JBRULES-3465]

    https://issues.jboss.org/browse/JBRULES-3465

    with the constraint it only works for one username per agent

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, this one is driving me nuts. I have a backend file uploader that
I really have problem with this one. So I have a jar with a
Really ripping my hair out on this one. I have a JAAS Authentication Provider
This is a really simple one but it's driving me crazy. I want to
I'm using Python 3.2.1 in Arch Linux x86_64. This one is really driving me
I'm driving myself nuts with this particular problem, i really hope someone can help!
This has been driving me nuts for the past hour. I have two computers,
This one is really making me pull my hair out. I have written a
this one is really easy. I'm trying to create a Regular Expression that will
Boy, this one is really weird. I expect the following code to print 1990,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.