net.sourceforge.blogentis.xmlrpc.impl
Class AuthenticationExecutor

java.lang.Object
  extended bynet.sourceforge.blogentis.xmlrpc.impl.AuthenticationExecutor
Direct Known Subclasses:
BloggerExecutor, MetaWeblogExecutor

public abstract class AuthenticationExecutor
extends java.lang.Object

Base class for all XML-RPC executors that need authentication (practically all).

Author:
abas

Constructor Summary
AuthenticationExecutor()
           
 
Method Summary
protected  java.util.List getLatestPosts(Blog b, int numberOfPosts)
           
protected  org.apache.turbine.om.security.User haveUser(java.lang.String username, java.lang.String password)
           
protected  Blog isAuthenticatedForBlog(java.lang.String blogid, org.apache.turbine.om.security.User u, java.lang.String permission)
           
protected  void setAuthorID(Post p, org.apache.turbine.om.security.User u)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationExecutor

public AuthenticationExecutor()
Method Detail

haveUser

protected org.apache.turbine.om.security.User haveUser(java.lang.String username,
                                                       java.lang.String password)
                                                throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

isAuthenticatedForBlog

protected Blog isAuthenticatedForBlog(java.lang.String blogid,
                                      org.apache.turbine.om.security.User u,
                                      java.lang.String permission)
                               throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

getLatestPosts

protected java.util.List getLatestPosts(Blog b,
                                        int numberOfPosts)
                                 throws org.apache.xmlrpc.XmlRpcException
Throws:
org.apache.xmlrpc.XmlRpcException

setAuthorID

protected void setAuthorID(Post p,
                           org.apache.turbine.om.security.User u)
                    throws org.apache.torque.TorqueException
Throws:
org.apache.torque.TorqueException


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.