I got it right. For some reason, I thought I had to convert the key to HEX. I
was wrong.
I changed the code like below and it worked... :)
for secretkey,
String secret = titititititititititititititititi; (the one from xwiki.cfg)
byte[] theKey = secret.getBytes();
KeySpec ks = new
Sergiu Dumitriu-2 wrote:
XWiki authenticates using cookies. You could duplicate the code that
adds the right cookies
(com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager#rememberLogin)
into your application, and XWiki will automatically see them and login
the right user. Don't
Sergiu Dumitriu-2 wrote:
Actually, it says this in xwiki.cfg, above the keys:
#-# Cookie encryption keys. You SHOULD replace these values with any
random string,
#-# as long as the length is the same.
So you should generate keys with 32 characters.
I mis-interpreted it. I thought
,
xManish
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Single-sign-on-tp5299320p5299320.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo
Fabio Mancinelli-4 wrote:
So as long as what you want to do is achievable by page and object
manipulation (like the most of the XWiki functionalities) you are able
to use the REST api to do it.
Hi Fabio,
Thanks for replying to my thread.
Coming to the creating user issue. Does that
I think I will have to apologize the original creator of this thread for
using it to discuss my issue.
Jerome, could you please join me in the another thread that I've created for
this issue.
Its 'Create User in XWiki from REST Api' under XWiki-Dev.
THankyou,
manish
--
View this message in
I might really have to apologize to the main creator of this thread for using
the thread.
Jerome, I'll start a new thread on this topic. Adding user through Rest
Api. Would you please join me there?
--
View this message in context:
I added page in the xwiki through Rest Api in following way. Would somebody
please advise me how to add user to the xwiki system in the similiar way.
public void add()
{
final String CONTENT = Content 101;
final String TITLE = Title 101;
final String PARENT =
Hi Jerome,
Ya of course having /wikis/{wikiName}/users would have been nice. :)
But coming to reality, I still have the problem creating user.
Here is the code on how I created the wiki page.
Can you advise me how to create the wiki user in the similiear manner?
public void myAddMethod()
{
Jerome Velociter wrote:
Hi Nithya, Manish
Have you checked
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources
?
In particular :
/wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}
HTTP Method: PUT
* Accepted Media types:
o
Nithya Vembu wrote:
But i dont getting clear idea, how can i create a page under space with
some contents.. and i am not getting any good samples for xwiki rest api.
...
Kindly anyone give me idea how rest will get differentiate in xwiki
manner..
Can anyone give me a code snippet
Maria Carolina Ramirez wrote:
I supposed that all of this errors are happening because I have to
install the *.xar files
And then I got this error and that's all. I can't see nothing else.
16:48:03,158 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as
XWD1_0_0_,
I hadn't seen that. Thanks for sharing.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/How-to-list-the-subspace-under-the-space-Little-bit-successful-need-more-steps-to-Go-tp5095367p5130817.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
13 matches
Mail list logo