My Oracle Support Banner

Access Control In GlassFish 2.1.x Blocks All Access (Doc ID 2083658.1)

Last updated on JUNE 19, 2024

Applies to:

Oracle GlassFish Server - Version 2.1.1 to 2.1.1 [Release 2.1]
Information in this document applies to any platform.


 NOTE:Names used; eg test, test1, test21 etc other used represent fictitious names are made up as examples.
Any similarity to actual code, is purely coincidental and not intended in any other manner.


Attempting to restrict access via hostname blocks all access to GlassFish Server. For example, if the following is defined in the "testing" configuration for the virtual server called "test":

$ ./asadmin set<DOMAIN_NAME>
$ ./asadmin set<DOMAIN_NAME>

Updates domain.xml with:

       <virtual-server id="test" network-listeners="http-listener-1,http-listener-2">

          <property name="allowRemoteHost" value="test1.<DOMAIN_NAME>"></property>

          <property name="denyRemoteHost" value="test2.<DOMAIN_NAME>"></property>

Both hosts will be denied access.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.