ch.odi.justblog.api
Interface Blog
- All Known Implementing Classes:
- BloggerBlog
- public interface Blog
- Author:
- oglueck
Method Summary |
void |
authenticate(javax.security.auth.callback.CallbackHandler authHandler)
Authenticates a user to this blog. |
void |
post(Entry entry)
Posts a entry to this blog. |
authenticate
public void authenticate(javax.security.auth.callback.CallbackHandler authHandler)
throws AuthenticationFailedException
- Authenticates a user to this blog. After a successful call,
the user can perform privileged actions on the blog.
- Parameters:
authHandler
- Provides the implementation with a callback handler to
be used JAAS like to retrieve authentication data from
the user.The handler will be set by Justblog before any
other method is called.
- Throws:
AuthenticationFailedException
post
public void post(Entry entry)
throws ApiException
- Posts a entry to this blog.
- Parameters:
entry
- either a new or an existing entry
- Throws:
ApiException
Copyright © 2005 Ortwin Glück. All Rights Reserved.