1 23 24 package javax.security.jacc; 25 26 import java.security.*; 27 import javax.security.jacc.PolicyContextException ; 28 29 209 210 public interface PolicyConfiguration { 211 212 226 227 public String getContextID() 228 throws javax.security.jacc.PolicyContextException ; 229 230 260 public void addToRole(String roleName, PermissionCollection permissions) 261 throws javax.security.jacc.PolicyContextException ; 262 263 293 public void addToRole(String roleName, Permission permission) 294 throws javax.security.jacc.PolicyContextException ; 295 296 319 public void addToUncheckedPolicy(PermissionCollection permissions) 320 throws javax.security.jacc.PolicyContextException ; 321 322 345 public void addToUncheckedPolicy(Permission permission) 346 throws javax.security.jacc.PolicyContextException ; 347 348 371 public void addToExcludedPolicy(PermissionCollection permissions) 372 throws javax.security.jacc.PolicyContextException ; 373 374 397 public void addToExcludedPolicy(Permission permission) 398 throws javax.security.jacc.PolicyContextException ; 399 400 422 public void removeRole(String roleName) 423 throws javax.security.jacc.PolicyContextException ; 424 425 445 public void removeUncheckedPolicy() 446 throws javax.security.jacc.PolicyContextException ; 447 448 468 public void removeExcludedPolicy() 469 throws javax.security.jacc.PolicyContextException ; 470 471 512 public void linkConfiguration(PolicyConfiguration link) 513 throws javax.security.jacc.PolicyContextException ; 514 515 534 public void delete() 535 throws javax.security.jacc.PolicyContextException ; 536 537 566 public void commit() 567 throws javax.security.jacc.PolicyContextException ; 568 569 586 public boolean inService() 587 throws javax.security.jacc.PolicyContextException ; 588 } 589 590 | Popular Tags |