Skip to content

willgarcia/tomcat-users-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomcat-users Cookbook

Adding a new user

Create a tomcat user with associated roles:

tomcat_user 'hello' do
  tomcat_config '/tomcat/path/to/tomcat-users.xml'
  roles [ 
    { :id => "user1", :password => "pwd1", :roles => ["role1", "role2"] }
    { :id => "user2", :password => "pwd2", :roles => ["role1"] }
  ]

  action :create
end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published