Terracotta EhCache

Monday, November 8, 2010

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

posted by Jayanthi Krishnamurthy @ 11:39 AM   0 Comments

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Newer›  ‹Older

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • Terracotta File Based Authentication

Older Posts Newer Posts

Archives

Subscribe to
Posts [Atom]