[fedora-java] Should java-1.4.2-gcj-compat require xerces-j2?
Fernando Lozano
fernando at lozano.eti.br
Fri Aug 5 13:58:22 UTC 2005
Hi Nicolas,
>>>slippy:[~]$ rpm -q --whatprovides jndi-ldap
>>>ldapjdk-4.17-1jpp_2fc
>>>
>>>
>>OK, thanks, but this still doesn't look required to build tomcat5, but I
>>think that some part of tomcat5 wants an ldap service provider to run.
>>
>>
>It's very possible the ldap is only there for compliance with some spec,
>and tomcat code has no use for it.
>
>
Tomcat supports many Realms (that's how it names the classes that
implements this) for authentication. You can authenticate from a XML
file (an passwd file in disguise), from a SQL Database and from a LDAP
directory. That's the only use of LDAP for Tomcat AFAIK. So you can run
Tomcat without LDAP support, but you'll miss this option. It could well
be extracted to a separate package, and just this package should depend
on a jndi-ldap provider. The internal jndi service bundled with tomcat
(for defining datasources and environment) does not need ldap.
[]s, Fernando Lozano
More information about the fedora-devel-java-list
mailing list