Class EasyDeskAccessControlListImpl

java.lang.Object
com.easydesk.security.acl.EasyDeskAccessControlListImpl
All Implemented Interfaces:
AccessControlList, EasyDeskAccessControlList<EasyDeskAccessControlListImpl>, Serializable

public final class EasyDeskAccessControlListImpl extends Object implements EasyDeskAccessControlList<EasyDeskAccessControlListImpl>
사용자 한 명의 User-Group-Role 정보로 만든 EasyDeskAccessControlList 구현 (PerUserAccessControlList).

생성 이후에는 변경되지 않는(immutable) object 이다.

Author:
Youngho Cho
See Also:
  • Constructor Details

    • EasyDeskAccessControlListImpl

      protected EasyDeskAccessControlListImpl(Set<EasyDeskUserGroupRole> userGroupRoles)
      Constructs a new AccessControlList. This class follows 'immutable' pattern - it's objects can't be modified once they are created. This means that the permissions the users have are in effect form the moment they log in to the moment they log out, and changes made to the security settings in that time are not reflected in the state of this object. If you need to reset an user's permissions you need to invalidate his session.

      사용자의 EasyDeskUserGroupRole 목록으로 { group, roleSet } map 과 group 목록을 만든다.

      Parameters:
      userGroupRoles - 사용자의 User-Group-Role 목록, null 이면 빈 ACL 을 만든다.
  • Method Details