blob: d9872daf907d234a6a8777d06d7748807ca0e775 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>HTTP Authentication dialog box</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.core.NbAuthenticator.getPasswordAuthentication" name="org.netbeans.core.NbAuthenticator.getPasswordAuthentication"></a></p>
<div id="NBCSH4034"><!-- infolevel="all" infotype="General" --><a id="sthref534" name="sthref534"></a>
<h1>HTTP Authentication dialog box</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to set username and password. It would not be safe to ship web servers with default settings that allowed anyone on the Internet to execute them on your server. Therefore, the web servers are shipped with the requirement that anyone who attempts to use them must authenticate themselves, using a username and password with the appropriate role associated with them.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1766">
<param name="text" value="<html><u>More</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>For example, to authenticate yourself when you want to use the Tomcat Manager to deploy your web application, you need a username and password for a user with the "manager" role. This username and password are stored in the <code dir="ltr">tomcat-users.xml</code> file that is in your user directory.</p>
<p><b>Note:</b> You can only use the usernames and passwords that are defined in the IDE's user directory's <code dir="ltr">tomcat-users.xml</code> file, and not those that are in the IDE's <b>installation</b> directory.</p>
<p>During installation, the IDE generates a user called "ide" that is assigned the "manager" role. This user is created in your user directory's <code dir="ltr">tomcat-users.xml</code> file.</p>
<a id="NBCSH4035" name="NBCSH4035"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1037">
<param name="text" value="<html><u>&quot;About Developing Web Applications&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>