element <authentication>

Namespace: | http://www.terracotta.org/config
Type: | authentication
Content: | complex, 2 elements
Defined: | locally at 1 location

XML Representation Summary
<authentication>
Content: | password-file? × access-file?
</authentication>

May contain elements (2):

  access-file (type path), | password-file (type path)

May be included in elements (1):

  server (type server) |

Usage / Definition Locations

- Within global complexTypes (1):
  server

Annotation
Turn on authentication for the Terracotta server. An empty tag <authentication/> defaults to the standard Java JMX authentication mechanism referring to password and access files in: $JAVA_HOME/jre/lib/management.

- $JAVA_HOME/jre/lib/management/jmxremote.password
- $JAVA_HOME/jre/lib/management/jmxremote.access

You must modify these files as such (if none exist create them):

jmxremote.password

add a line to the end of the file declaring your username and password followed by a caridge return:

secretusername secretpassword

jmxremote.access

add the following line (with a caridge return) to the end of your file:

secretusername readwrite

You must also:
$ chmod 500 jmxremote.password
$ chown <user who will execute the tc-server> jmxremote.password
NOTE: This will not work unless you're correctly running the Terracotta server with Java version >= 1.5

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.2 DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else! Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task! Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com