We are currently creating a new internal core system. The system will be used by many users. Authentication is managed by Crowd. We currently have 50 licenses for Confluence - they are mainly used by the SysDev department. I would like to avoid buying more licenses for Confluence at this time.
My scenario:
On any page in the core system, we'll have a 'Help' icon/url.
The intention is to link the 'Help' icon/url to specific content in Confluence explaining the business rules for the page, and why things work as they do (there are a lot of business rules, and since the organization is global we cannot assume that everybody knows everything :)) I would like for this to be a page that open up in the new system. Worst case I can have a new browser window that opens up and loads the Confluence page.
Question is:Is this possible without having 1 Confluence license per user?
Public space is not an option as the Confluence site is available from the web. I could ask my customer to add IP restrictions, but I would like to avoid that.
I've looked at 'Trusted applications'. Can this be used in this setting?
Community moderators have prevented the ability to post new answers.
I found the answer after a bit more searching (C# code)
var soapService = new ConfluenceWebService.ConfluenceSoapServiceService(); var token = soapService.login("user", "pass"); var page = soapService.getPage(token.ToString(), 8454253); //This will give you the page in HTML (\n and \t must be removed 'manually'): string content = soapService.renderContent(token.ToString(), "eCrew2", 8454253, string.Empty); content = content.Replace("\n", ""); content = content.Replace("\t", "");
Beware that ConfluenceWebService is the name of my local web reference from point 2.
8454253 is the ID of the page I want to show.
The entire SOAP API is documented here: http://confluence.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs
sorry to raise an old question. But I am trying to render a page that has a "code block" macro in it and renderContent doesn't render the result correctly and is giving me script instead. as shown below...
<script type="syntaxhighlighter" class="theme: Confluence; brush: java; gutter: false"><![CDATA[<filter>
<filter-name>login_nego</filter-name>
<filter-class>fi.polarshift.confluence.lib.kauth.NegotiateLoginFilter</filter-class>
</filter>]]></script>
have you had samiliar issue? how did you workaround that?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Asia Application Support Team Natixis: That's because your Confluence is using a Kerberos authenticator to login. It looks like the code macro uses client side JavaSCript to render the look & feel. It's assuming that your script is aware of the AD, but likely isn't.
Try changing the servlet filter - or similar for the authenicator so that it does not protect the JavaScript file for the code macro behind authentication. Or ask the Kerberos authenticator's vendor for help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Thanks for the response. But I am not sure about "changing the servlet filter" as I am quite new to confluence/java. Could you please give a bit more hint about that?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ivar, I am trying to do the same thing. Do your users have to login to Confluence when they click your help links? My requirement is to provide help links to our wiki pages and have the user not be faced with a login page (otherwise they won't bother using the links). It should be seamless.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot be of much assistance I'm afraid. My attempt was nearly a proof of concept - that it was possible. We ended up buing 500 user licenses for Confluence and link the different pages directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.