java - TomcatEmbeddedServletContainer - Authentication required dialog box -


i'm trying access spring boot appication running on embedded tomcat container on local machine using http://localhost:8080/projectname/

as access application dialouge box being displayed.

for non-embedded tomcact container can modify tomcat-server.xml , add

<tomcat-users>   <role rolename="manager"/>   <role rolename="admin"/>   <role rolename="admin-gui"/>   <role rolename="manager-gui"/>   <user username="admin" password="admin" roles="admin,manager,"/> </tomcat-users> 

how on embedded tomcat container?

use adduser()/addrole() methods.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -