1 23 24 package org.apache.slide.store; 25 26 import java.util.Enumeration ; 27 28 import org.apache.slide.common.Service; 29 import org.apache.slide.common.ServiceAccessException; 30 import org.apache.slide.common.Uri; 31 import org.apache.slide.security.NodePermission; 32 33 38 public interface SecurityStore extends Service { 39 40 41 43 44 50 void grantPermission(Uri uri, NodePermission permission) 51 throws ServiceAccessException; 52 53 54 60 void revokePermission(Uri uri, NodePermission permission) 61 throws ServiceAccessException; 62 63 64 70 void revokePermissions(Uri uri) 71 throws ServiceAccessException; 72 73 74 82 Enumeration enumeratePermissions(Uri uri) 83 throws ServiceAccessException; 84 85 86 } 87 | Popular Tags |