|
Java example source code file (Comparator.Combined.Policy)
The Comparator.Combined.Policy Java example source code// should be granted grant principal com.sun.security.auth.UnixPrincipal "1", principal Comparator$PCompare2 "2" { permission java.util.PropertyPermission "foo", "read"; }; // should be granted grant principal Comparator$PCompare1 "1", principal com.sun.security.auth.NTUserPrincipal "4" { permission java.util.PropertyPermission "bar", "read"; }; // should be granted grant principal com.sun.security.auth.UnixPrincipal "1", principal javax.security.auth.x500.X500Principal "cn=x500", principal Comparator$PCompare2 "2" { permission java.util.PropertyPermission "hello", "read"; }; // should be granted grant principal Comparator$PCompare1 "1", principal com.sun.security.auth.NTUserPrincipal "4", principal javax.security.auth.x500.X500Principal "cn=x500" { permission java.util.PropertyPermission "world", "read"; }; // should not be granted grant principal Comparator$PCompare1 "1", principal Comparator$PCompare3 "3" { permission java.util.PropertyPermission "foobar", "read"; }; Other Java examples (source code examples)Here is a short list of links related to this Java Comparator.Combined.Policy source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.