发明申请
- 专利标题: Method and apparatus for adopting authorizations
- 专利标题(中): 采用授权的方法和装置
-
申请号: US10639862申请日: 2003-08-13
-
公开(公告)号: US20050039158A1公开(公告)日: 2005-02-17
- 发明人: Lawrence Koved , Anthony Nadalin , Marco Pistoia
- 申请人: Lawrence Koved , Anthony Nadalin , Marco Pistoia
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 主分类号: G06F9/44
- IPC分类号: G06F9/44
摘要:
A method and apparatus for implementing a new Permission for methods that perform callback operations are provided. The method and apparatus provide an AdoptPermission Permission type that allows a method to pass a Java 2 authorization test without having the specific required Permissions expressly granted to the method and without the method having the AllPermission Permission granted to it. With the apparatus and method, an AdoptPermission Permission type is defined that operates to allow a ProtectionDomain to “adopt” a required Permission. However, this adoption of a required Permission can only be performed if the ProtectionDomain of at least one method in the thread stack has been granted a Permission that implies the required Permission. Thus, the AdoptPermission Permission type provides an intermediate mechanism that is not as over-inclusive as the AllPermission Permission type and is not as under-inclusive as requiring that all methods in the thread stack include the required Permission expressly granted to them.
公开/授权文献
- US07343620B2 Method and apparatus for adopting authorizations 公开/授权日:2008-03-11
信息查询