1.1.7.4.2.3 allowAnonymousAccess

This property only affects the X.509 certificate selection when Tuxedo SECURITY is configured at least at "USER_AUTH" level. This property allows users without their own X.509 certificate to use a default client identification when access a Web Service. By default it is disabled.

The following is the matrix table for decision to enable this anonymous client access filter:

Table 1-14 Anonymous Client Access Filter Matrix

Service GWInstance Decision
Unconfigured Unconfigured Disabled
Unconfigured Configured TRUE Enabled
Unconfigured Configured FALSE Disabled
Configure TRUE Unconfigured Enabled
Configure TRUE Configured TRUE Enabled
Configure TRUE Configured FALSE Enabled
Configure FALSE Unconfigured Disabled
Configure FALSE Configured TRUE Disabled
Configure FALSE Configured FALSE Disabled

If the decision is to enable this filter then "defaultClientIdentification" must be configured; if "defaultClientIdentification" is not configured then "wsloadcf" will fail and return an error.

The following is the sample configuration.

Example 1-29 defaultClientIdentification Configured

<?xml version="1.0" encoding="UTF-8" ?>
<!- Sample.wsdf
-->
<Definition …>
<WSBinding id="sample_Binding">
<SOAP>
<AccessingPoints>
…
</AccessingPoints>
</SOAP>
<Servicegroup id="SampleSrvGrp">
<Service name="GetData">
<Property name="defaultClientIdentification" value="catalina"/>
<Property name="allowAnonymousAccess" value="true" />
</Service>
</Servicegroup>
</WSBinding>
</Definition>

Example 1-30 defaultClientIdentification not configured

<?xml version="1.0" encoding="UTF-8"?>
<!- sample.dep
-->
<Deployment xmlns="http://www.bea.com/Tuxedo/SALTDEPLOY/2007">
<WSDF>
<Import location="c:/salt/x.509/Sample.wsdf"></Import>
</WSDF>
<WSGateway>
<GWInstance id="INSTANCE1">
<Outbound>
…
</Outbound>
<Properties>
<Property name="defaultClientIdentification" value="melbourne"/>
<Property name="allowAnonymousAccess" value="false" />
</Properties>
</GWInstance>
</WSGateway>
<System>
<Certificate>
…
</Certificate>
</System>
</Deployment>