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 7816397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:51:15+00:00 2026-06-02T05:51:15+00:00

I have been trying to create a whitelist for my pubsub node on openfire

  • 0

I have been trying to create a whitelist for my pubsub node on “openfire” and no success yet. Everything goes on very well till the point where I add the members through affiliation request, which setes the affiliation to “member” for specified JIDs. Server accepts the request with no error. But the moment I request the affiliations for the pubsub node, it returns “outcast” instead of “member”.
Here are my requests and response:
set affiliation request:

<body rid='2568800008' xmlns='http://jabber.org/protocol/httpbind' sid='6215ff3c'><iq to='pubsub.***.***.2.1' type='set' xmlns='jabber:client' id='1735:sendIQ'><pubsub xmlns='http://jabber.org/protocol/pubsub#owner'><affiliations node='hello_pubsub_7'><affiliation jid='arash@***.***.2.1' affiliation='member'/></affiliations></pubsub></iq></body>

set affiliation response:

<body xmlns='http://jabber.org/protocol/httpbind'><iq xmlns="jabber:client" type="result" id="1735:sendIQ" from="pubsub.***.***.2.1" to="ubuntu@***.***.2.1/6215ff3c"/></body>

get affiliation request:

<body rid='2568800013' xmlns='http://jabber.org/protocol/httpbind' sid='6215ff3c'><iq to='pubsub.***.***.2.1' type='get' xmlns='jabber:client' id='1736:sendIQ'><pubsub xmlns='http://jabber.org/protocol/pubsub#owner'><affiliations node='hello_pubsub_7'/></pubsub></iq></body>

get affiliation response:

<body xmlns='http://jabber.org/protocol/httpbind'><iq xmlns="jabber:client" type="result" id="1736:sendIQ" from="pubsub.***.***.2.1" to="ubuntu@***.***.2.1/6215ff3c"><pubsub xmlns="http://jabber.org/protocol/pubsub#owner"><affiliations node="hello_pubsub_7"><affiliation jid="ubuntu@***.***.2.1" affiliation="owner"/><affiliation jid="arash@***.***.2.1" affiliation="outcast"/></affiliations></pubsub></iq></body>

It is just “publish-only” and “member” that are not working. “publisher”, “owner” and “outcast” are fine.
Not sure if it is a bug or there is something missing in my code.

Thanks in advance

  • 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-02T05:51:17+00:00Added an answer on June 2, 2026 at 5:51 am

    It looks like you could have saved yourself some debugging by looking at the docs first 😉

    Only publisher, owner and outcast affiliations are supported.

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

Sidebar

Related Questions

I edited some mistakes and details... Well, I have been trying to create a
I have been trying to create a menu panel with jQuery that can be
I have been trying to create a new google custom search engine, but when
I have been trying to create a simple program with Python which uses OpenCV
I have been trying to create an observable tweeter feed using tweetsharp with the
I have been trying to create an XML using the simplexml library (v2.6.2) http://simple.sourceforge.net/home.php
Hi I have been trying to create a crossfade plugin with previous and next
I have been trying to find a good guide to create a templated control.
Ok I'm stumped. I have been trying to use Simpletip to create a tooltip
I'm trying to create a friendship association. I found and have been following the

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.