Hi Emmanuel,
In a given session, form-based authentication overrides BA authentication. However, if you can separate the traffic (either by junction or by user-agent) then it is possible to specify forms or BA independently.
Here is a cut-and-paste from config file comments:
# The auth-challenge-type contains a comma separated list of# authentication types which will be used when challenging a# client for authentication information. The supported authentication# types include:# ba, forms, spnego, token, cert, oidc and eai.## The corresponding authentication configuration entry (e.g. ba-auth)# must be enabled for each specified authentication challenge type.## By default the list of authentication challenge types will match that# of the list of configured authentication mechanisms.## Each authentication type can additionally be configured with a set of rules.# These rules are used to determine the user agents for which the# authentication type is enabled. Each set of rules must be contained within# square brackets and separated by semicolons. Each pattern must begin with# a '+' or '-' character to indicate inclusion or exclusion respectively.# Patterns can contain alphanumeric characters, spaces, underscores and# periods. The wildcard characters '*' # and '?' can also be used.## For example:## auth-challenge-type = [+*MSIE*]ba, [-*MSIE*;+*]forms## This configuration will present a basic authentication challenge to user# agents containing 'MSIE' (Internet Explorer browsers) and a forms based# challenge to all other user agents. See the WebSEAL administration guide# for further information.## Do not use authentication challenge types as a security or enforcement# measure. If no challenge types can be determined for a given user agent# string, WebSEAL will fall back to the list of all configured authentication# mechanisms.## This configuration item may be customized for a particular junction# by adding the adjusted configuration item to a [server:{jct_id}] stanza,# where '{jct-id}' refers to the junction point for a standard junction# (include the leading '/'), or the virtual host label for a virtual host# junction.# auth-challenge-type =Hopefully you can figure it out from here :)
Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
------------------------------