0 Replies Latest reply on Oct 31, 2003 4:23 PM by sys user

    Basic Authentication Based on Port Numbers

    sys user Master

      I have set up an Apache as front end for JBoss. Apache is configured to do port number based Basic Authentication.

      i.e. PORT1 is not configured for no authentication at all.. PORT2 is configured for Basic Authentication in Apache. (using VirtualHost and Location directives in conjunction)

      Is there any way JBoss itself can be configured to provide the same functionality, so we can eliminate Apache altogether? What I need is, when a user visits www.mysite.com:PORT1 the user will be allowed without any authentication at all but when a user visits www.mysite.com:PORT2 the user will be asked for User ID and password? And both PORT1 and PORT2 are served from the same JBoss instance!

      Thanks in advance