@Test public void testIsMemberOfEveryoneMissingAuthorizable() { List<Principal> principals = ImmutableList.of( new PrincipalImpl("name"), () -> "name" ); for (Principal p : principals) { assertTrue(everyoneAgp.isMember(p)); } }
abstract boolean isMember(@NotNull Authorizable authorizable) throws RepositoryException;
AbstractGroupPrincipal extends TreeBasedPrincipal implements GroupPrincipal { abstract boolean isMember(@NotNull Authorizable authorizable) throws RepositoryException; }
AbstractGroupPrincipal extends TreeBasedPrincipal implements GroupPrincipal { abstract boolean isMember(@NotNull Authorizable authorizable) throws RepositoryException; AbstractGroupPrincipal(@NotNull String principalName, @NotNull Tree groupTree, @NotNull NamePathMapper namePathMapper);   AbstractGroupPrincipal(@NotNull String principalName, @NotNull String groupPath, @NotNull NamePathMapper namePathMapper); }
AbstractGroupPrincipal extends TreeBasedPrincipal implements GroupPrincipal { abstract boolean isMember(@NotNull Authorizable authorizable) throws RepositoryException; AbstractGroupPrincipal(@NotNull String principalName, @NotNull Tree groupTree, @NotNull NamePathMapper namePathMapper);   AbstractGroupPrincipal(@NotNull String principalName, @NotNull String groupPath, @NotNull NamePathMapper namePathMapper); @Override boolean isMember(@NotNull Principal principal); @NotNull @Override Enumeration<? extends Principal> members(); }
AbstractGroupPrincipal extends TreeBasedPrincipal implements GroupPrincipal { abstract boolean isMember(@NotNull Authorizable authorizable) throws RepositoryException; AbstractGroupPrincipal(@NotNull String principalName, @NotNull Tree groupTree, @NotNull NamePathMapper namePathMapper);   AbstractGroupPrincipal(@NotNull String principalName, @NotNull String groupPath, @NotNull NamePathMapper namePathMapper); @Override boolean isMember(@NotNull Principal principal); @NotNull @Override Enumeration<? extends Principal> members();  }