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

Field Summary
private  LifeblogContext lifeblogContext
           
private static long NONCE_TIMEOUT
           
 
Constructor Summary
LifeblogServices(LifeblogContext lifeblogContext)
           
 
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

lifeblogContext

private LifeblogContext lifeblogContext

NONCE_TIMEOUT

private static final long NONCE_TIMEOUT
See Also:
Constant Field Values
Constructor Detail

LifeblogServices

public LifeblogServices(LifeblogContext lifeblogContext)
Method Detail

isAuthenticated

public boolean isAuthenticated()
                        throws LifeblogServiceException,
                               XWikiException,
                               java.text.ParseException
Throws:
LifeblogServiceException
XWikiException
java.text.ParseException

isAuthenticated

public boolean isAuthenticated(java.lang.String header)
                        throws LifeblogServiceException,
                               XWikiException,
                               java.text.ParseException
Throws:
LifeblogServiceException
XWikiException
java.text.ParseException

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)
                          throws java.text.ParseException
Throws:
java.text.ParseException


Copyright 2003 Ludovic Dubost