Quick Links

Contact Information

4800 Liberty Ave
Pittsburgh, PA 15224

Open 9:30am-6pm EST
Monday-Friday

Phone: +1 (412) 682-5282

info@cometway.com
sales@cometway.com
support@cometway.com

For more information about Comet Way products and services, please visit our corporate website at

http://www.cometway.com

Authentication Agent Properties

This agent handles HTTP authentication. A file must be provided to specify the user accounts and realms that require authentication.

service_name

This property tells the HTTPAuthenticationAgent what to register itself as. If a PropsListServiceManager is used, this name must be in the form of extension:// followed by a regular expression matching a domain:port. By default, this property is set to extension://.* which matches all domains and all ports.

authentication_file

This property tells the agent what file contains the realms and username/password pairs.

The file needs to be in this format:

PATH0 REALM0 username0 password0 username1 password1 username2 password2 username3 password3 PATH1 REALM2 username0 password0 username1 password1

Here is an example of an authentication file:

/private/mine/ My realm user password santos halper /private/ Main Realm user mainpassword

Therefore, if I access http://hostname/private/mine/ from my browser, I will get prompted for a username and password for the realm My Realm, in which case I can enter the username user and the password password to gain access to all the directories under /private/mine/ inclusive.

[Prev] [Next]

Description: How to configure basic HTTP authentication.

Updated: Tue May 20 19:21:20 EDT 2008