![NEC ExpEther-2S Скачать руководство пользователя страница 54](http://html.mh-extra.com/html/nec/expether-2s/expether-2s_user-manual_251145054.webp)
34
Before change
:
<!-- Uncomment this to enable BASIC Authentication. -->
<!—
<security-constraint>
<web-resource-collection>
<web-resource-name>ExpEtherManagerRestResources</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>eem-rest</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>ExpEtherManagerRestService</realm-name>
</login-config>
<security-role>
<role-name>eem-rest</role-name>
</security-role>
--
>
After change
:
<!-- Uncomment this to enable BASIC Authentication. -->
<!—
<security-constraint>
<web-resource-collection>
<web-resource-name>ExpEtherManagerRestResources</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>eem-rest</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>ExpEtherManagerRestService</realm-name>
</login-config>
<security-role>
<role-name>eem-rest</role-name>
</security-role>
--
>
Next, modify the following file to change the user name and the password used for Basi
authentication.
Note that the user name and the password are set to “admin” and “eemeem” in the default
setting.
。
<EEM path>/tomcat/conf/tomcat-users.xml
Example of setting
:
<!-- The username and password for the EEM REST API service. -->
<role rolename="eem-rest"/>
<user username="
admin
" password="
eemeem
" roles="eem-rest"/>
Содержание ExpEther-2S
Страница 2: ... Memo ...
Страница 111: ...91 Memo ...