Terracotta File Based Authentication
1) Include the authentication section in tc-config.xml.
<server host="{hostname}" name="{servername}">
<data>/opt/terracotta/server-data</data>
<logs>/opt/terracotta/server-logs</logs>
<authentication>
<mode>
<password-file>/opt/jmxremote.password</password-file>
</mode>
<access-file>/opt/jmxremote.access</access-file>
</authentication>
</server>
2) Create two files with the following content
jmxremote.access
admin readwrite
monitor readonly
jmxremote.password
admin password1
monitor password2
Note: You can keep these files in any location and adjust the tc-config accordingly.
3) Restart the server. Access devconsole.
You will be prompted for user name and password.
Enter admin as user and password as password1
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home