/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/ |
H A D | CachedPermissionImpl.java | 53 Permission permission; field in class:CachedPermissionImpl 58 this.permission = p; 63 return this.permission; 74 granted = permissionCache.checkPermission(this.permission,this.epoch);
|
/glassfish-3.1.2/security/inmemory.jacc.provider/src/main/java/com/sun/enterprise/security/jacc/provider/ |
H A D | SimplePolicyProvider.java | 147 * the ProtectionDomain and tests whether the permission is 151 * @param permission the Permission object to be tested for implication. 153 * @return true if "permission" is a proper subset of a permission 160 public boolean implies(ProtectionDomain domain, Permission permission) { argument 167 return doImplies(domain, permission); 175 final Permission permission) { 178 result = SimplePolicyConfiguration.implies(domain, permission); 190 rvalue = basePolicy.implies(domain, permission); 193 SimplePolicyConfiguration.logAccessFailure(domain, permission); 174 doImplies(final ProtectionDomain domain, final Permission permission) argument [all...] |
H A D | SimplePolicyConfiguration.java | 223 * Used to add a single permission to a named role in this 231 * @param roleName the name of the Role to which the permission is 234 * @param permission the permission to be added 252 public void addToRole(String roleName, Permission permission) argument 258 if (roleName != null && permission != null) { 260 role.addPermission(permission); 315 * @param permission the permission to be added 334 public void addToUncheckedPolicy(Permission permission) argument 416 addToExcludedPolicy(Permission permission) argument [all...] |
/glassfish-3.1.2/security/javax.security.jacc/src/main/java/javax/security/jacc/ |
H A D | EJBRoleRefPermission.java | 49 * permissions. An EJBRoleRefPermission is a named permission and has actions. 53 * that identifies the EJB in whose context the permission is 57 * which the permission applies. An EJBRoleRefPermission is checked to 81 * The serialized fields of this permission are defined below. Whether 97 * @param actions identifies the role reference to which the permission 191 * @param permission "this" EJBRoleRefPermission is checked to see if 192 * it implies the argument permission. 194 * @return true if the specified permission is implied by this object, 198 public boolean implies(Permission permission) argument 200 return this.equals(permission); [all...] |
H A D | PolicyConfiguration.java | 280 * Used to add a single permission to a named role in this 288 * @param roleName the name of the Role to which the permission is 291 * @param permission the permission to be added 309 public void addToRole(String roleName, Permission permission) argument 342 * @param permission the permission to be added 361 public void addToUncheckedPolicy(Permission permission) argument 394 * @param permission the permission t 413 addToExcludedPolicy(Permission permission) argument [all...] |
H A D | WebRoleRefPermission.java | 49 * permissions. A WebRoleRefPermission is a named permission and has actions. 57 * which the permission applies. A WebRoleRefPermission is checked to 80 * The serialized fields of this permission are defined below. Whether 97 * @param actions identifies the role reference to which the permission 192 * @param permission "this" WebRoleRefPermission is checked to see if 193 * it implies the argument permission. 195 * @return true if the specified permission is implied by this object, 199 public boolean implies(Permission permission) argument 201 return this.equals(permission); 208 * input stream and uses them to restore the permission [all...] |
H A D | WebResourcePermission.java | 52 * A WebResourcePermission is a named permission and has actions. 55 * identifies the Web resources to which the permission pertains. 85 * The serialized fields of this permission are defined below. Whether 109 * the permission constructor. The empty string is an exact URLPattern, and 115 * resources to which the permission does NOT apply and depend on the 152 * they must be eliminated by the permission constructor. 154 * A null or empty string HTTPMethodSpec indicates that the permission 159 * it begins with an exclaimationPoint), the permission pertains to all 163 * specific web resources to which the permission pertains. 167 * translated to the default URLPattern, "/", by the permission constructo 353 implies(Permission permission) argument [all...] |
H A D | EJBMethodPermission.java | 59 * the EJB to which the permission applies. 99 * The serialized fields of this permission are defined below. Whether 144 * A null or empty string methodSpec indicates that the permission applies 166 * @param name of the EJB to which the permission pertains. 169 * permission pertains. 188 * the EJB to which the permission pertains. A value of null or "" 189 * indicates that the permission pertains to all methods that 190 * match the other parameters of the permission specification 194 * interface to which the permission pertains. A value of null or "", 195 * indicates that the permission pertain 437 implies(Permission permission) argument [all...] |
H A D | WebUserDataPermission.java | 54 * A WebUserDataPermission is a named permission and has actions. 102 * The serialized fields of this permission are defined below. Whether 126 * the permission constructor. The empty string is an exact URLPattern, and 132 * resources to which the permission does NOT apply and depend on the 175 * they must be eliminated by the permission constructor. 181 * it begins with an exclaimationPoint), the permission pertains 187 * A granted permission representing a transportType of "NONE", 192 * specific web resources to which the permission pertains. 196 * translated to the default URLPattern, "/", by the permission constructor. 201 * the permission pertain 451 implies(Permission permission) argument [all...] |
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/resources/ |
H A D | DirContextURLConnection.java | 42 * permission notice: 111 this.permission = new JndiPermission(url.toString()); 159 protected Permission permission; field in class:DirContextURLConnection 423 return permission;
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/provider/ |
H A D | BasePolicyWrapper.java | 226 * the ProtectionDomain and tests whether the permission is 230 * @param permission the Permission object to be tested for implication. 232 * @return true if "permission" is a proper subset of a permission 238 public boolean implies(ProtectionDomain domain, Permission permission) { argument 246 return doImplies(domain, permission); 252 return doImplies(domain, permission); 388 logger.finest("JACC Policy Provider: permission is excluded: "+granted); 394 private boolean doImplies(ProtectionDomain domain, Permission permission) { argument 399 boolean result = appPolicy.implies(domain,permission); [all...] |
H A D | PolicyConfigurationImpl.java | 237 * Used to add a single permission to a named role in this 245 * @param roleName the name of the Role to which the permission is 248 * @param permission the permission to be added 266 public void addToRole(String roleName, Permission permission) argument 271 assert permission != null; 274 if (roleName != null && permission != null) { 276 this.getRolePermissions(roleName).add(permission); 324 * @param permission the permission t 343 addToUncheckedPolicy(Permission permission) argument 419 addToExcludedPolicy(Permission permission) argument [all...] |
H A D | PolicyParser.java | 569 "expected permission entry")); 627 e.permission = match("permission type"); 753 } else if (expect.equalsIgnoreCase("permission type")) { 768 } else if (expect.equalsIgnoreCase("permission type")) { 844 * permission java.io.FilePermission "/tmp", "read,write"; 910 * Enumerate all the permission entries in this GrantEntry. 1076 * Each permission entry in the policy configuration file is 1083 * permission java.io.FilePermission "/tmp", "read,write"; 1099 public String permission; field in class:PolicyParser.PermissionEntry 1107 PermissionEntry(String permission, String name, String action) argument [all...] |
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/ |
H A D | ConnectorDescriptor.java | 383 addSecurityPermission(SecurityPermission permission) argument 385 securityPermissions.add(permission); 392 removeSecurityPermission(SecurityPermission permission) argument 394 securityPermissions.remove(permission); 779 buf.append("\n security-permission : ");
|
/glassfish-3.1.2/web/war-util/src/main/java/org/glassfish/web/loader/ |
H A D | WebappClassLoader.java | 42 * permission notice: 125 * which allows setting security permission at the class level, even when a 170 * All permission. 502 Permission permission = null; 507 permission = new JndiPermission(path + "*"); 508 addPermission(permission); 511 permission = new FilePermission(path, "read"); 512 addPermission(permission); 515 permission = new FilePermission(path + "-", "read"); 516 addPermission(permission); 540 addPermission(Permission permission) argument [all...] |