1 19 20 package org.objectweb.jac.aspects.user; 21 22 import org.objectweb.jac.core.rtti.CollectionItem; 23 import org.objectweb.jac.core.rtti.ClassItem; 24 import org.objectweb.jac.core.rtti.MethodItem; 25 26 public interface UserConf { 27 28 45 46 void setUserClass(ClassItem userClass, 47 String loginField, 48 String passwordField, 49 String profileField); 50 51 59 60 void autoInitClasses(String classExpr); 61 62 73 74 void declareProfile(String profile); 75 76 81 void clearProfile(String name); 82 83 94 95 void declareProfile(String profile,String parent); 96 97 103 104 void addReadable(String profile,String resourceExpr); 105 106 112 113 void addWritable(String profile,String resourceExpr); 114 115 123 void addRemovable(String profile,String resourceExpr); 124 125 133 void addAddable(String profile,String resourceExpr); 134 135 136 144 void addCreatable(String profile,String resourceExpr); 145 146 159 void defineAdministrator(String login,String password); 160 161 171 void defineHabilitation(MethodItem condition); 172 173 186 void defineHabilitation(ClassItem cli, MethodItem condition); 187 188 196 void addOwnerFilter(String profile,ClassItem cl, 197 String collectionName); 198 199 208 void addFilter(CollectionItem collection, MethodItem filter); 209 210 220 221 void setContextualProfile(ClassItem cl, String field, 222 String profile); 223 224 225 } 226 | Popular Tags |