| java.lang.Object org.jasig.portal.channels.groupsmanager.permissions.GroupsManagerDefaultPermissions
All known Subclasses: org.jasig.portal.channels.groupsmanager.permissions.GroupsManagerAdminPermissions,
GroupsManagerDefaultPermissions | public class GroupsManagerDefaultPermissions implements IGroupsManagerPermissions,GroupsManagerConstants(Code) | | GroupsManagerDefaultPermissions answers if the Authorization Principal is able to
perform specific actions on the target Group Member.
author: Don Fracapane version: $Revision: 34756 $ |
Method Summary | |
public boolean | canAssignPermissions(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can assign permissions to the target group member. | public boolean | canCreateGroup(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can create a group in the target group member. | public boolean | canDelete(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can delete the target group member. | public boolean | canManageMembers(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can manage the members in the target group member. | public boolean | canSelect(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can select the target group member. | public boolean | canUpdate(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can update the target group member. | public boolean | canView(IAuthorizationPrincipal ap, IGroupMember gm) Answers if principal can view the target group member. | public boolean | canViewProperties(IAuthorizationPrincipal ap, IGroupMember gm) Answers if the principal is able to view the group member properties. | public static synchronized IGroupsManagerPermissions | getInstance() Return the single instance of GroupsManagerDefaultPermissions. | public boolean | isAuthorized(IAuthorizationPrincipal ap, String activity, IGroupMember gm) Answers if principal can perform the activity on the target group member. |
GroupsManagerDefaultPermissions | public GroupsManagerDefaultPermissions()(Code) | | put your documentation comment here
|
canAssignPermissions | public boolean canAssignPermissions(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can assign permissions to the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canCreateGroup | public boolean canCreateGroup(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can create a group in the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canDelete | public boolean canDelete(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can delete the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canManageMembers | public boolean canManageMembers(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can manage the members in the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canSelect | public boolean canSelect(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can select the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canUpdate | public boolean canUpdate(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can update the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canView | public boolean canView(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if principal can view the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: gm - IGroupMember boolean |
canViewProperties | public boolean canViewProperties(IAuthorizationPrincipal ap, IGroupMember gm)(Code) | | Answers if the principal is able to view the group member properties. This is
a new permission. No one should have this permission in the permission store.
So initially, you may want to enforce your own policy for this permission in
order to keep the behavior the same as before this update was applied. For
example, you could always return a true or perhaps base this permission on
another permission, such as canSelect.
Parameters: ap - IAuthorizationPrincipal Parameters: gm - IGroupMember boolean |
getInstance | public static synchronized IGroupsManagerPermissions getInstance()(Code) | | Return the single instance of GroupsManagerDefaultPermissions.
IGroupsManagerPermissions |
isAuthorized | public boolean isAuthorized(IAuthorizationPrincipal ap, String activity, IGroupMember gm)(Code) | | Answers if principal can perform the activity on the target group member.
Parameters: ap - AuthorizationPrincipal Parameters: activity - String Parameters: gm - IGroupMember boolean |
|
|