forked from corda/corda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move jolokia access config to the config directories, alongside log4j…
…2.xml file. Point samples at top level dev and test config.
- Loading branch information
Showing
12 changed files
with
66 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<restrict> | ||
<http> | ||
<method>post</method> | ||
<method>get</method> | ||
</http> | ||
|
||
<commands> | ||
<command>read</command> | ||
<command>list</command> | ||
</commands> | ||
|
||
<!-- allow anyone to force a garbage collection --> | ||
<allow> | ||
<mbean> | ||
<name>java.lang:type=Memory</name> | ||
<operation>gc</operation> | ||
</mbean> | ||
</allow> | ||
|
||
<!-- in case we ever end up using c3pio connection pooling, this example from the docs prevents the password being exported --> | ||
<deny> | ||
<mbean> | ||
<name>com.mchange.v2.c3p0:type=PooledDataSource,*</name> | ||
<attribute>properties</attribute> | ||
</mbean> | ||
</deny> | ||
|
||
</restrict> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
samples/simm-valuation-demo/src/main/resources/jolokia-access.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<restrict> | ||
<http> | ||
<method>post</method> | ||
<method>get</method> | ||
</http> | ||
|
||
<commands> | ||
<command>read</command> | ||
<command>list</command> | ||
</commands> | ||
|
||
<!-- allow anyone to force a garbage collection --> | ||
<allow> | ||
<mbean> | ||
<name>java.lang:type=Memory</name> | ||
<operation>gc</operation> | ||
</mbean> | ||
</allow> | ||
|
||
<!-- in case we ever end up using c3pio connection pooling, this example from the docs prevents the password being exported --> | ||
<deny> | ||
<mbean> | ||
<name>com.mchange.v2.c3p0:type=PooledDataSource,*</name> | ||
<attribute>properties</attribute> | ||
</mbean> | ||
</deny> | ||
|
||
</restrict> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.