com.xpn.xwiki.atom.lifeblog
Class LifeblogServices

java.lang.Object
  extended bycom.xpn.xwiki.atom.lifeblog.LifeblogServices

public class LifeblogServices
extends java.lang.Object

Author:
Luis Arias

Field Summary
private static long NONCE_TIMEOUT
           
private  java.lang.String userName
           
private  XWikiHelper xwikiHelper
           
 
Constructor Summary
LifeblogServices(XWikiContext context)
           
 
Method Summary
 java.lang.String getAtomListUserBlogs(java.util.List userBlogs)
           
 boolean isAuthenticated()
           
 boolean isAuthenticated(java.lang.String header)
           
 void listUserBlogs()
           
private  boolean nonceAlreadyUsedByUser(java.lang.String nonce)
           
private  boolean nonceIsNotTooOld(java.util.Calendar createdDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userName

private java.lang.String userName

NONCE_TIMEOUT

private static final long NONCE_TIMEOUT
See Also:
Constant Field Values

xwikiHelper

private XWikiHelper xwikiHelper
Constructor Detail

LifeblogServices

public LifeblogServices(XWikiContext context)
Method Detail

isAuthenticated

public boolean isAuthenticated()
                        throws XWikiException,
                               java.io.IOException
Throws:
XWikiException
java.io.IOException

isAuthenticated

public boolean isAuthenticated(java.lang.String header)
                        throws XWikiException,
                               java.io.IOException
Throws:
XWikiException
java.io.IOException

listUserBlogs

public void listUserBlogs()
                   throws java.io.IOException,
                          XWikiException
Throws:
java.io.IOException
XWikiException

getAtomListUserBlogs

public java.lang.String getAtomListUserBlogs(java.util.List userBlogs)

nonceAlreadyUsedByUser

private boolean nonceAlreadyUsedByUser(java.lang.String nonce)

nonceIsNotTooOld

private boolean nonceIsNotTooOld(java.util.Calendar createdDate)


Copyright 2003 Ludovic Dubost