EnglishRussianUkrainianChinese
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RSS and Authentication

 
Post new topicReply to topic    TrackStudio Forum Forum Index -> TrackStudio Support
View previous topic :: View next topic  
Author Message
larsf



Joined: 28 Aug 2003
Posts: 73

PostPosted: Wed May 07, 2008 6:40 pm    Post subject: RSS and Authentication Reply with quote

I am trying to integrate TrackStudio with the Confluence Wiki, but I am running into authentication problems.

The first problem was the SSL, which was solved by adding the TS server certificate to the keystore on the Confluence server.

The second problem is TS authentication...

In Confluence, the syntax is simple:
Code:
{rss:url=InsertURLhere}
{rss:url=https://tsserver/TrackStudio/task/75/rss/402881850aa7444c010aa800d64302ea}
This one doesn't work - it only shows
"rss: The RSS macro is retrieving an HTML page."
but the content never shows up.

If you insert it as a URL, it will open correctly in MSIE 7 and show the RSS
Code:
[https://tsserver/TrackStudio/task/75/rss/402881850aa7444c010aa800d64302ea]
However, if I am not logged into TS, it requires me to get past the TS login window before I can see the RSS.

1. How do I create a RSS feed that does not require authentication?
2. If I can't do #1, how do I authenticate through the RSS URL?

IMO, there is a need to anonymous access for RSS, and authentication should not be required until you follow one of the links into TS.
_________________
Lars Fosdal, IST International Software Technology
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4363
Location: Smolensk, Russia

PostPosted: Thu May 08, 2008 12:18 pm    Post subject: Re: RSS and Authentication Reply with quote

Currenlty, TrackStudio doesn't support anonymous logins, because it require some user to get locale, timezone, permissions, etc.

But TrackStudio can store user session id in cookies - this means that if logged in TrackStudio before - he/she can access page without login.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
larsf



Joined: 28 Aug 2003
Posts: 73

PostPosted: Thu May 08, 2008 2:55 pm    Post subject: Reply with quote

The problem here is that it is the Confluence JSP application that retrieves the RSS, and not the actual user.

Is it possible to "plant" a cookie on that server to make it work?
_________________
Lars Fosdal, IST International Software Technology
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 01 Jan 1970
Posts: 4363
Location: Smolensk, Russia

PostPosted: Thu May 08, 2008 3:33 pm    Post subject: Reply with quote

larsf wrote:
Is it possible to "plant" a cookie on that server to make it work?


Yes, execute (SOAP should be enabled)
http://localhost:8888/TrackStudio/services/User?method=authenticate&login=root&password=root
to get session id. You can use it until TrackStudio restart.

Then embed link like
http://localhost:8888/TrackStudio/task/2/rss/1?session=c568abf66f663574e0630d814b0b8ff0
where c568abf66f663574e0630d814b0b8ff0 - session id.
_________________
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
larsf



Joined: 28 Aug 2003
Posts: 73

PostPosted: Thu May 08, 2008 3:44 pm    Post subject: Reply with quote

Can I get a session ID URL when the TS server is set up to use cookies?

Would switching away from using cookies be a potential security problem?
(pasting URL's into mails with sessionid,etc)

Edit: nvm - didn't look at the soap response.
_________________
Lars Fosdal, IST International Software Technology
Back to top
View user's profile Send private message
Display posts from previous:   
TrackStudio Forum Forum Index -> TrackStudio Support All times are GMT + 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Copyright © 2002-2007,   TrackStudio, Ltd.
Contact Us