jdk/test/sun/management/windows/README
author schien
Thu, 25 Aug 2011 17:18:25 -0700
changeset 10304 df130f34ab4c
parent 2 90ce3da70b43
child 32427 c22b7e41adf3
permissions -rw-r--r--
Added tag jdk8-b02 for changeset 88a0fd8156da
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
This directory contains the source and the binary version of a Windows 
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
utility to remove all non-owner Access Control Entries from a given file.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
The tool is used by regression tests in the following directories :-
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
test/sun/management/jmxremote/bootstrap
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
test/sun/management/snmp/bootstrap
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
The tests in these directories create password or ACL files that need to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
be "secured" (meaning that only the owner should have access to the 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
files). 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
Both the source and the binary version are checked into SCCS. If
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
you require to make changes to the tool then you need to Visual
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
C++ to rebuild revokeall.exe after changing the source.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
To rebuild the tool you need to setup your environment (by
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
calling the VC++ VCVARS32.BAT script), and then executing the 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
following command :-
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
cl /mt revokeall.c advapi32.lib
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
This will generate revokeall.exe.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
Note that a 32-bit version of revokeall.exe is checked into SCCS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
- this 32-bit application is also used when running on 64-bit
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
versions of Windows (AMD64 and IA64).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30