|
Java example source code file (AliasExpansion.policy)
The AliasExpansion.policy Java example source codekeystore "file:${test.src}/Alias.keystore"; grant { permission javax.security.auth.PrivateCredentialPermission "java.lang.String ${{alias:x509test person}}", "read"; permission java.security.SecurityPermission "abcde ${{alias:x509test person}} fghij ${{alias:x509test person}}"; permission java.security.SecurityPermission "${{alias:x509test person}}"; permission java.security.SecurityPermission "${{alias:x509test person}} abc"; // these three are erroneous but should not cause the // test to fail. they should simply cause notification output to be // dumped to stderr. permission java.security.SecurityPermission "${{alias:notthere}}"; permission java.security.SecurityPermission "${{unsupported}}"; permission java.security.SecurityPermission "${{alias}}"; }; // Standard extensions get all permissions grant codeBase "file:${java.home}/lib/ext/*" { permission java.security.AllPermission; }; Other Java examples (source code examples)Here is a short list of links related to this Java AliasExpansion.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.