|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthorizationModule
This interface defines what a autorizationModule has to fulfill.
| Method Summary | |
|---|---|
java.util.List |
authorizeUser(java.lang.String userName)
This method is used to fetch a users roles. |
void |
createInfoGlueGroup(GroupVO groupVO)
This method is used to create a new group. |
void |
createInfoGluePrincipal(SystemUserVO systemUserVO)
This method is used to create a new user. |
void |
createInfoGlueRole(RoleVO roleVO)
This method is used to create a new rol. |
void |
deleteInfoGlueGroup(java.lang.String groupName)
This method is used to delete an existing group. |
void |
deleteInfoGluePrincipal(java.lang.String userName)
This method is used to delete an existing user. |
void |
deleteInfoGlueRole(java.lang.String roleName)
This method is used to delete an existing role. |
InfoGlueGroup |
getAuthorizedInfoGlueGroup(java.lang.String groupName)
Gets an InfoGlueGroup |
InfoGluePrincipal |
getAuthorizedInfoGluePrincipal(java.lang.String userName)
Gets an authorized InfoGluePrincipal |
InfoGlueRole |
getAuthorizedInfoGlueRole(java.lang.String roleName)
Gets an InfoGlueRole |
java.util.Properties |
getExtraProperties()
|
java.util.List |
getFilteredUsers(java.lang.String firstName,
java.lang.String lastName,
java.lang.String userName,
java.lang.String email,
java.lang.String[] roleIds)
This method is used to get a filtered list of all users. |
java.util.List |
getGroups()
This method is used to fetch all available groups. |
java.util.List |
getGroupUsers(java.lang.String groupName)
This method is used to fetch all users part of the named group. |
java.util.List |
getRoles()
This method is used to fetch all available roles. |
java.util.List |
getRoleUsers(java.lang.String roleName)
This method is used to fetch all users part of the named role. |
boolean |
getSupportCreate()
Gets is the implementing class can create as well as read |
boolean |
getSupportDelete()
Gets is the implementing class can delete as well as read |
boolean |
getSupportUpdate()
Gets is the implementing class can update as well as read |
java.lang.Object |
getTransactionObject()
|
java.util.List |
getUsers()
This method is used to fetch all users. |
java.util.List |
getUsers(java.lang.String roleName)
Deprecated. |
void |
setExtraProperties(java.util.Properties properties)
|
void |
setTransactionObject(java.lang.Object transactionObject)
|
void |
updateInfoGlueGroup(GroupVO roleVO,
java.lang.String[] userNames)
This method is used to update an existing group. |
void |
updateInfoGluePrincipal(SystemUserVO systemUserVO,
java.lang.String[] roleNames,
java.lang.String[] groupNames)
This method is used to update an existing user. |
void |
updateInfoGluePrincipalPassword(java.lang.String userName)
This method is used to send out a newpassword to an existing users. |
void |
updateInfoGluePrincipalPassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
This method is used to send out a newpassword to an existing users. |
void |
updateInfoGlueRole(RoleVO roleVO,
java.lang.String[] userNames)
This method is used to update an existing role. |
| Method Detail |
|---|
boolean getSupportUpdate()
boolean getSupportDelete()
boolean getSupportCreate()
InfoGluePrincipal getAuthorizedInfoGluePrincipal(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
InfoGlueRole getAuthorizedInfoGlueRole(java.lang.String roleName)
throws java.lang.Exception
java.lang.Exception
InfoGlueGroup getAuthorizedInfoGlueGroup(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exception
java.util.List authorizeUser(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
java.util.List getRoles()
throws java.lang.Exception
java.lang.Exception
java.util.List getGroups()
throws java.lang.Exception
java.lang.Exception
java.util.List getUsers()
throws java.lang.Exception
java.lang.Exception
java.util.List getUsers(java.lang.String roleName)
throws java.lang.Exception
java.lang.Exception
java.util.List getRoleUsers(java.lang.String roleName)
throws java.lang.Exception
java.lang.Exception
java.util.List getGroupUsers(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exception
java.util.List getFilteredUsers(java.lang.String firstName,
java.lang.String lastName,
java.lang.String userName,
java.lang.String email,
java.lang.String[] roleIds)
throws java.lang.Exception
firstName - lastName - userName - email - roleIds -
SystemException
Bug
java.lang.Exception
void createInfoGluePrincipal(SystemUserVO systemUserVO)
throws java.lang.Exception
java.lang.Exception
void updateInfoGluePrincipal(SystemUserVO systemUserVO,
java.lang.String[] roleNames,
java.lang.String[] groupNames)
throws java.lang.Exception
java.lang.Exception
void updateInfoGluePrincipalPassword(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
void updateInfoGluePrincipalPassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
throws java.lang.Exception
java.lang.Exception
void deleteInfoGluePrincipal(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
void createInfoGlueRole(RoleVO roleVO)
throws java.lang.Exception
java.lang.Exception
void updateInfoGlueRole(RoleVO roleVO,
java.lang.String[] userNames)
throws java.lang.Exception
java.lang.Exception
void deleteInfoGlueRole(java.lang.String roleName)
throws java.lang.Exception
java.lang.Exception
void createInfoGlueGroup(GroupVO groupVO)
throws java.lang.Exception
java.lang.Exception
void updateInfoGlueGroup(GroupVO roleVO,
java.lang.String[] userNames)
throws java.lang.Exception
java.lang.Exception
void deleteInfoGlueGroup(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exceptionjava.util.Properties getExtraProperties()
void setExtraProperties(java.util.Properties properties)
void setTransactionObject(java.lang.Object transactionObject)
java.lang.Object getTransactionObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||