|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AuthorizationProvider
Method Summary | |
void |
authorize(Blog blog,
java.util.Map authorizationContext,
java.lang.String userLogin,
java.lang.String password)
Authorize a username and password for the given Blog |
void |
checkPermission(Blog blog,
java.util.Map permissionContext,
java.lang.String userLogin,
java.lang.String permission)
Check a permission for the given Blog |
void |
init()
Initialization method for the authorization provider |
Method Detail |
public void init() throws ConfigurationException
ConfigurationException
- If there is an error initializing the providerpublic void authorize(Blog blog, java.util.Map authorizationContext, java.lang.String userLogin, java.lang.String password) throws AuthorizationException
Blog
blog
- Blog
authorizationContext
- Map
to be used to provide other information for authorization. This will
change depending on the authorization provider.userLogin
- Usernamepassword
- Password
AuthorizationException
- If there is an error authorizing the username and passwordpublic void checkPermission(Blog blog, java.util.Map permissionContext, java.lang.String userLogin, java.lang.String permission) throws AuthorizationException
Blog
blog
- Blog
permissionContext
- Map
to be used to provide other information for permission check. This will
change depending on the authorization provider.userLogin
- Usernamepermission
- Permission
AuthorizationException
- If there is an error checking the permission for the username and permission
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |