| java.lang.Object org.apache.roller.webservices.xmlrpc.BaseAPIHandler
All known Subclasses: org.apache.roller.webservices.xmlrpc.BloggerAPIHandler,
BaseAPIHandler | public class BaseAPIHandler implements Serializable(Code) | | Base API handler does user validation, provides exception types, etc.
author: David M Johnson |
AUTHORIZATION_EXCEPTION | final public static int AUTHORIZATION_EXCEPTION(Code) | | |
AUTHORIZATION_EXCEPTION_MSG | final public static String AUTHORIZATION_EXCEPTION_MSG(Code) | | |
BLOGGERAPI_DISABLED | final public static int BLOGGERAPI_DISABLED(Code) | | |
BLOGGERAPI_DISABLED_MSG | final public static String BLOGGERAPI_DISABLED_MSG(Code) | | |
BLOGGERAPI_INCOMPLETE_POST | final public static int BLOGGERAPI_INCOMPLETE_POST(Code) | | |
BLOGGERAPI_INCOMPLETE_POST_MSG | final public static String BLOGGERAPI_INCOMPLETE_POST_MSG(Code) | | |
INVALID_POSTID | final public static int INVALID_POSTID(Code) | | |
INVALID_POSTID_MSG | final public static String INVALID_POSTID_MSG(Code) | | |
UNKNOWN_EXCEPTION | final public static int UNKNOWN_EXCEPTION(Code) | | |
UNKNOWN_EXCEPTION_MSG | final public static String UNKNOWN_EXCEPTION_MSG(Code) | | |
UNSUPPORTED_EXCEPTION | final public static int UNSUPPORTED_EXCEPTION(Code) | | |
UNSUPPORTED_EXCEPTION_MSG | final public static String UNSUPPORTED_EXCEPTION_MSG(Code) | | |
UPLOAD_DENIED_EXCEPTION | final public static int UPLOAD_DENIED_EXCEPTION(Code) | | |
UPLOAD_DENIED_EXCEPTION_MSG | final public static String UPLOAD_DENIED_EXCEPTION_MSG(Code) | | |
USER_DISABLED | final public static int USER_DISABLED(Code) | | |
USER_DISABLED_MSG | final public static String USER_DISABLED_MSG(Code) | | |
WEBLOG_DISABLED | final public static int WEBLOG_DISABLED(Code) | | |
WEBLOG_DISABLED_MSG | final public static String WEBLOG_DISABLED_MSG(Code) | | |
WEBLOG_NOT_FOUND | final public static int WEBLOG_NOT_FOUND(Code) | | |
WEBLOG_NOT_FOUND_MSG | final public static String WEBLOG_NOT_FOUND_MSG(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
BaseAPIHandler | public BaseAPIHandler()(Code) | | |
validate | protected WebsiteData validate(String blogid, String username, String password) throws Exception(Code) | | Returns website, but only if user authenticates and is authorized to edit.
Parameters: blogid - Blogid sent in request (used as website's hanldle) Parameters: username - Username sent in request Parameters: password - Password sent in requeset |
validateUser | protected boolean validateUser(String username, String password) throws Exception(Code) | | Returns true if username/password are valid and user is not disabled.
Parameters: username - Username sent in request Parameters: password - Password sent in requeset |
|
|