|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.blojsom.plugin.admin.BaseAdminPlugin
org.blojsom.plugin.security.FormAuthenticationPlugin
This plugin performs authorization after prompting the user in a web form.
Field Summary |
Constructor Summary | |
FormAuthenticationPlugin()
Default constructor. |
Method Summary | |
java.lang.String |
getInitialPage()
Get the initial page to load on successful authentication. |
void |
init()
Initialize the plugin |
Entry[] |
process(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Blog blog,
java.util.Map context,
Entry[] entries)
Process the blog entries |
void |
setInitialPage(java.lang.String initialPage)
Set the initial page to load on successful authentication. |
Methods inherited from class org.blojsom.plugin.admin.BaseAdminPlugin |
addOperationResultMessage, authenticateUser, checkPermission, cleanup, destroy, formatAdminResource, getAdminResource, getUsernameFromSession, setAuthorizationProvider, setResourceManager, setServletConfig |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FormAuthenticationPlugin()
Method Detail |
public java.lang.String getInitialPage()
public void setInitialPage(java.lang.String initialPage)
initialPage
- Initial page to load on successful authenticationpublic void init() throws PluginException
init
in interface Plugin
init
in class BaseAdminPlugin
PluginException
- If there is an error on initializationpublic Entry[] process(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Blog blog, java.util.Map context, Entry[] entries) throws PluginException
process
in interface Plugin
process
in class BaseAdminPlugin
httpServletRequest
- RequesthttpServletResponse
- Responseblog
- Blog
instancecontext
- Contextentries
- Blog entries retrieved for the particular request
PluginException
- If there is an error processing the blog entries
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |