This patch (donated from Cisco Systems Limited) is for
a SASLProfile for digestmd5 and a basic SOAPProfile that
supports RFC3288 bootmsg handling.
The SASL profile (currently called SASLBeepProfile but
probably should be merged with the existing SASLProfile
class) is actually a generic SASL profile that should
be able to use arbitrary SASL Client/Servlet providers
to hand various authentication protocols.
Currently this has only been tested with digestmd5. To
achieve this, the SASL 1.1 RI has been added to the lib
and a sasl provider has been included in org.beepcore.sasl
that supports digestmd5 - partly by wrapping the sun ldap
provider included in jre 1.4. (Note the patch includes an
updated build files and eclipse .classpath file).
The use of this provider is not well documented - but there
are test harnesses that show how it works.
If this approach is accepted, then I believe the other
SASLProfiles should be converted to use the same
approach. IE, instead of writing new SASLProfiles, we
simply write/obtain new SASL providers. Eventually a
full set of these will be provided with the JRE.
The reason for this is that the intent of SASL is more than
just a wire prototocl. It is intended to allow simple
configuration of alternate authentication and
encyrption mechanisms at runtime. Thus hardcoded
profile names do not really support the spirit of SASL
- IMNSHO.
SASL Digestmd5 and soap profiles