You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/03/19 15:01:27 UTC

[jira] Commented: (JCRRMI-27) JSR-283: Support AccessControlManager

    [ https://issues.apache.org/jira/browse/JCRRMI-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847375#action_12847375 ] 

Felix Meschberger commented on JCRRMI-27:
-----------------------------------------

Implemented remote AccessControlManager along with AccessControlList, AccessControlPolicy, AccessControlEntry, Privilege, Principal, and Group support. Some methods are not implemented, mostly methods to update access control.

Privilege equals and hashCode methods are implemented based on the Privilege name (getting the name is the only round-trip to the server here).

Committed in Rev. 925218

This current implementation passes almost all ConformanceTests run during the build. The failing tests all involve unimplemented access control update methods.

Failing test record:

Running org.apache.jackrabbit.rmi.ConformanceTest
Tests run: 1895, Failures: 0, Errors: 21, Skipped: 0, Time elapsed: 93.757 sec <<< FAILURE!

Results :

Tests in error: 
  testSetIllegalPolicy(org.apache.jackrabbit.test.api.security.AccessControlPolicyTest)
  testGetAccessControlEntries(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntry(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAggregatePrivilege(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAggregatedPrivilegesSeparately(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAbstractPrivilege(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddPrivilegesPresentInEntries(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryAndSetPolicy(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryIsTransient(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryInvalidPrincipal(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryEmptyPrivilegeArray(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryInvalidPrivilege(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testRemoveAccessControlEntry(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testRemoveAddedAccessControlEntry(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testRemoveAccessControlEntryAndSetPolicy(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testRemoveAccessControlEntryIsTransient(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testRemoveIllegalAccessControlEntry(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryTwice(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testAddAccessControlEntryAgain(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testExtendPrivileges(org.apache.jackrabbit.test.api.security.AccessControlListTest)
  testSetInvalidPolicy(org.apache.jackrabbit.test.api.security.RSessionAccessControlPolicyTest)

Tests run: 1895, Failures: 0, Errors: 21, Skipped: 0


> JSR-283: Support AccessControlManager
> -------------------------------------
>
>                 Key: JCRRMI-27
>                 URL: https://issues.apache.org/jira/browse/JCRRMI-27
>             Project: Jackrabbit JCR-RMI
>          Issue Type: Sub-task
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.