Preloader image
DDD

자바

톰켓(Tomcat) tomcat-user.xml 접근 설정.

작성자 관리자 (admin)
조회수 1,889
입력일 2023-07-10 15:34:35

<?xml version="1.0" encoding="UTF-8"?>
<tomcat-users xmlns="http://tomcat.apache.org/xml"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
              version="1.0">

    <role rolename="manager-gui"/>
    <role rolename="manager-script"/>
    <role rolename="manager-jmx"/>
    <role rolename="manager-status"/>
    <role rolename="admin-gui"/>
    <role rolename="admin-script"/>
    
<user username="admin" password="1234" roles="manager-gui,manager-script,manager-status"/>

</tomcat-users>