appendix-dependencies.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <appendix version="5.0" xml:id="appendix-dependencies" xmlns="http://docbook.org/ns/docbook"
  3. xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
  4. <info>
  5. <title>Spring Security Dependencies</title>
  6. </info>
  7. <para>
  8. This appendix provides a reference of the modules in Spring Security and the additional
  9. dependencies that they require in order to function in a running application. We don't include
  10. dependenices that are only used when building or testing Spring Security itself. Nor do we include
  11. transitive dependencies which are required by external dependencies.
  12. </para>
  13. <para>The version of Spring required is listed on the project website, so the specific versions are omitted
  14. for Spring dependencies below. Note that some of the dependencies listed as <quote>optional</quote>
  15. below may still be required for other non-security functionality in a Spring application.
  16. </para>
  17. <para>Where a module depends on another Spring Security module, the non-optional dependencies of the
  18. module it depends on are also assumed to be required and are not listed separately.
  19. </para>
  20. <section>
  21. <title><literal>spring-security-core</literal></title>
  22. <para>The core module must be included in any project using Spring Security.
  23. <table xml:id="deps-core">
  24. <title>Core Depenendencies</title>
  25. <tgroup cols="3" align="left">
  26. <colspec colnum="1" colname="col1" colwidth="2*"/>
  27. <colspec colnum="2" colname="col2" colwidth="1*"/>
  28. <colspec colnum="3" colname="col3" colwidth="3*"/>
  29. <thead>
  30. <row>
  31. <entry align="center">Dependency</entry>
  32. <entry align="center">Version</entry>
  33. <entry align="center">Description</entry>
  34. </row>
  35. </thead>
  36. <tbody>
  37. <row>
  38. <entry>aopalliance</entry>
  39. <entry>1.0</entry>
  40. <entry><para>Required for method security implementation.</para></entry>
  41. </row>
  42. <row>
  43. <entry>ehcache</entry>
  44. <entry>1.6.2</entry>
  45. <entry><para>Required if the ehcache-based user cache implementation is used (optional).</para></entry>
  46. </row>
  47. <row>
  48. <entry>spring-aop</entry>
  49. <entry></entry>
  50. <entry><para>Method security is based on Spring AOP</para></entry>
  51. </row>
  52. <row>
  53. <entry>spring-beans</entry>
  54. <entry></entry>
  55. <entry><para>Required for Spring configuration</para></entry>
  56. </row>
  57. <row>
  58. <entry>spring-expression</entry>
  59. <entry></entry>
  60. <entry><para>Required for expression-based method security</para></entry>
  61. </row>
  62. <row>
  63. <entry>spring-jdbc</entry>
  64. <entry></entry>
  65. <entry><para>Required if using a database to store user data (optional).</para></entry>
  66. </row>
  67. <row>
  68. <entry>spring-tx</entry>
  69. <entry></entry>
  70. <entry><para>Required if using a database to store user data (optional).</para></entry>
  71. </row>
  72. <row>
  73. <entry>spring-web</entry>
  74. <entry></entry>
  75. <entry><para>Required for clients which use HTTP remoting support (optional).</para></entry>
  76. </row>
  77. <row>
  78. <entry>aspectjrt</entry>
  79. <entry>1.6.10</entry>
  80. <entry><para>Required if using AspectJ support (optional).</para></entry>
  81. </row>
  82. <row>
  83. <entry>jsr250-api</entry>
  84. <entry>1.0</entry>
  85. <entry><para>Required if you are using JSR-250 method-security annotations (optional).</para></entry>
  86. </row>
  87. </tbody>
  88. </tgroup>
  89. </table>
  90. </para>
  91. </section>
  92. <section>
  93. <title><literal>spring-security-web</literal></title>
  94. <para>This module is typically required in web applications which use the Servlet API.
  95. <table xml:id="deps-web">
  96. <title>Web Dependencies</title>
  97. <tgroup cols="3" align="left">
  98. <colspec colnum="1" colname="col1" colwidth="2*"/>
  99. <colspec colnum="2" colname="col2" colwidth="1*"/>
  100. <colspec colnum="3" colname="col3" colwidth="3*"/>
  101. <thead>
  102. <row>
  103. <entry align="center">Dependency</entry>
  104. <entry align="center">Version</entry>
  105. <entry align="center">Description</entry>
  106. </row>
  107. </thead>
  108. <tbody>
  109. <row>
  110. <entry>spring-security-core</entry>
  111. <entry></entry>
  112. <entry></entry>
  113. </row>
  114. <row>
  115. <entry>spring-web</entry>
  116. <entry></entry>
  117. <entry><para>Spring web support classes are used extensively.</para></entry>
  118. </row>
  119. <row>
  120. <entry>spring-jdbc</entry>
  121. <entry></entry>
  122. <entry><para>Required for JDBC-based persistent remember-me token repository (optional).</para></entry>
  123. </row>
  124. <row>
  125. <entry>spring-tx</entry>
  126. <entry></entry>
  127. <entry><para>Required by remember-me persistent token repository implementations (optional).</para></entry>
  128. </row>
  129. </tbody>
  130. </tgroup>
  131. </table>
  132. </para>
  133. </section>
  134. <section>
  135. <title><literal>spring-security-ldap</literal></title>
  136. <para>This module is only required if you are using LDAP authentication.
  137. <table xml:id="deps-ldap">
  138. <title>LDAP Dependencies</title>
  139. <tgroup cols="3" align="left">
  140. <colspec colnum="1" colname="col1" colwidth="2*"/>
  141. <colspec colnum="2" colname="col2" colwidth="1*"/>
  142. <colspec colnum="3" colname="col3" colwidth="3*"/>
  143. <thead>
  144. <row>
  145. <entry align="center">Dependency</entry>
  146. <entry align="center">Version</entry>
  147. <entry align="center">Description</entry>
  148. </row>
  149. </thead>
  150. <tbody>
  151. <row>
  152. <entry>spring-security-core</entry>
  153. <entry></entry>
  154. <entry></entry>
  155. </row>
  156. <row>
  157. <entry>spring-ldap-core</entry>
  158. <entry>1.3.0</entry>
  159. <entry><para>LDAP support is based on Spring LDAP.</para></entry>
  160. </row>
  161. <row>
  162. <entry>spring-tx</entry>
  163. <entry></entry>
  164. <entry><para>Data exception classes are required.</para></entry>
  165. </row>
  166. <row>
  167. <entry>apache-ds <footnote><para>The modules <literal>apacheds-core</literal>,
  168. <literal>apacheds-core-entry</literal>, <literal>apacheds-protocol-shared</literal>,
  169. <literal>apacheds-protocol-ldap</literal> and <literal>apacheds-server-jndi</literal> are required.
  170. </para></footnote></entry>
  171. <entry>1.5.5</entry>
  172. <entry><para>Required if you are using an embedded LDAP server (optional).</para></entry>
  173. </row>
  174. <row>
  175. <entry>shared-ldap</entry>
  176. <entry>0.9.15</entry>
  177. <entry><para>Required if you are using an embedded LDAP server (optional).</para></entry>
  178. </row>
  179. <row>
  180. <entry>ldapsdk</entry>
  181. <entry>4.1</entry>
  182. <entry>
  183. <para>Mozilla LdapSDK. Used for decoding LDAP password policy controls if you are
  184. using password-policy functionality with OpenLDAP, for example.
  185. </para>
  186. </entry>
  187. </row>
  188. </tbody>
  189. </tgroup>
  190. </table>
  191. </para>
  192. </section>
  193. <section>
  194. <title><literal>spring-security-config</literal></title>
  195. <para>This module is required if you are using Spring Security namespace configuration.
  196. <table xml:id="deps-config">
  197. <title>Config Dependencies</title>
  198. <tgroup cols="3" align="left">
  199. <colspec colnum="1" colname="col1" colwidth="2*"/>
  200. <colspec colnum="2" colname="col2" colwidth="1*"/>
  201. <colspec colnum="3" colname="col3" colwidth="3*"/>
  202. <thead>
  203. <row>
  204. <entry align="center">Dependency</entry>
  205. <entry align="center">Version</entry>
  206. <entry align="center">Description</entry>
  207. </row>
  208. </thead>
  209. <tbody>
  210. <row>
  211. <entry>spring-security-core</entry>
  212. <entry></entry>
  213. <entry></entry>
  214. </row>
  215. <row>
  216. <entry>spring-security-web</entry>
  217. <entry></entry>
  218. <entry>Required if you are using any web-related namespace configuration (optional).</entry>
  219. </row>
  220. <row>
  221. <entry>spring-security-ldap</entry>
  222. <entry></entry>
  223. <entry>Required if you are using the LDAP namespace options (optional).</entry>
  224. </row>
  225. <row>
  226. <entry>spring-security-openid</entry>
  227. <entry></entry>
  228. <entry>Required if you are using OpenID authentication (optional).</entry>
  229. </row>
  230. <row>
  231. <entry>aspectjweaver</entry>
  232. <entry>1.6.10</entry>
  233. <entry><para>Required if using the protect-pointcut namespace syntax (optional).</para></entry>
  234. </row>
  235. </tbody>
  236. </tgroup>
  237. </table>
  238. </para>
  239. </section>
  240. <section>
  241. <title><literal>spring-security-acl</literal></title>
  242. <para>The ACL module.
  243. <table xml:id="deps-acl">
  244. <title>ACL Dependencies</title>
  245. <tgroup cols="3" align="left">
  246. <colspec colnum="1" colname="col1" colwidth="2*"/>
  247. <colspec colnum="2" colname="col2" colwidth="1*"/>
  248. <colspec colnum="3" colname="col3" colwidth="3*"/>
  249. <thead>
  250. <row>
  251. <entry align="center">Dependency</entry>
  252. <entry align="center">Version</entry>
  253. <entry align="center">Description</entry>
  254. </row>
  255. </thead>
  256. <tbody>
  257. <row>
  258. <entry>spring-security-core</entry>
  259. <entry></entry>
  260. <entry></entry>
  261. </row>
  262. <row>
  263. <entry>ehcache</entry>
  264. <entry>1.6.2</entry>
  265. <entry><para>Required if the ehcache-based ACL cache implementation is used (optional if you are using your own implementation).</para></entry>
  266. </row>
  267. <row>
  268. <entry>spring-jdbc</entry>
  269. <entry></entry>
  270. <entry><para>Required if you are using the default JDBC-based AclService (optional if you implement your own).</para></entry>
  271. </row>
  272. <row>
  273. <entry>spring-tx</entry>
  274. <entry></entry>
  275. <entry><para>Required if you are using the default JDBC-based AclService (optional if you implement your own).</para></entry>
  276. </row>
  277. </tbody>
  278. </tgroup>
  279. </table>
  280. </para>
  281. </section>
  282. <section>
  283. <title><literal>spring-security-cas</literal></title>
  284. <para>The CAS module provides integration with JA-SIG CAS.
  285. <table xml:id="deps-cas">
  286. <title>CAS Dependencies</title>
  287. <tgroup cols="3" align="left">
  288. <colspec colnum="1" colname="col1" colwidth="2*"/>
  289. <colspec colnum="2" colname="col2" colwidth="1*"/>
  290. <colspec colnum="3" colname="col3" colwidth="3*"/>
  291. <thead>
  292. <row>
  293. <entry align="center">Dependency</entry>
  294. <entry align="center">Version</entry>
  295. <entry align="center">Description</entry>
  296. </row>
  297. </thead>
  298. <tbody>
  299. <row>
  300. <entry>spring-security-core</entry>
  301. <entry></entry>
  302. <entry></entry>
  303. </row>
  304. <row>
  305. <entry>spring-security-web</entry>
  306. <entry></entry>
  307. <entry></entry>
  308. </row>
  309. <row>
  310. <entry>cas-client-core</entry>
  311. <entry>3.1.12</entry>
  312. <entry>The JA-SIG CAS Client. This is the basis of the Spring Security integration.</entry>
  313. </row>
  314. <row>
  315. <entry>ehcache</entry>
  316. <entry>1.6.2</entry>
  317. <entry><para>Required if you are using the ehcache-based ticket cache (optional).</para></entry>
  318. </row>
  319. </tbody>
  320. </tgroup>
  321. </table>
  322. </para>
  323. </section>
  324. <section>
  325. <title><literal>spring-security-openid</literal></title>
  326. <para>The OpenID module.
  327. <table xml:id="deps-openid">
  328. <title>OpenID Dependencies</title>
  329. <tgroup cols="3" align="left">
  330. <colspec colnum="1" colname="col1" colwidth="2*"/>
  331. <colspec colnum="2" colname="col2" colwidth="1*"/>
  332. <colspec colnum="3" colname="col3" colwidth="3*"/>
  333. <thead>
  334. <row>
  335. <entry align="center">Dependency</entry>
  336. <entry align="center">Version</entry>
  337. <entry align="center">Description</entry>
  338. </row>
  339. </thead>
  340. <tbody>
  341. <row>
  342. <entry>spring-security-core</entry>
  343. <entry></entry>
  344. <entry></entry>
  345. </row>
  346. <row>
  347. <entry>spring-security-web</entry>
  348. <entry></entry>
  349. <entry></entry>
  350. </row>
  351. <row>
  352. <entry>openid4java-nodeps</entry>
  353. <entry>0.95</entry>
  354. <entry>Spring Security's OpenID integration uses OpenID4Java.</entry>
  355. </row>
  356. </tbody>
  357. </tgroup>
  358. </table>
  359. </para>
  360. </section>
  361. <section>
  362. <title><literal>spring-security-taglibs</literal></title>
  363. <para>Provides Spring Security's JSP tag implementations.
  364. <table xml:id="deps-taglibs">
  365. <title>Taglib Dependencies</title>
  366. <tgroup cols="3" align="left">
  367. <colspec colnum="1" colname="col1" colwidth="2*"/>
  368. <colspec colnum="2" colname="col2" colwidth="1*"/>
  369. <colspec colnum="3" colname="col3" colwidth="3*"/>
  370. <thead>
  371. <row>
  372. <entry align="center">Dependency</entry>
  373. <entry align="center">Version</entry>
  374. <entry align="center">Description</entry>
  375. </row>
  376. </thead>
  377. <tbody>
  378. <row>
  379. <entry>spring-security-core</entry>
  380. <entry></entry>
  381. <entry></entry>
  382. </row>
  383. <row>
  384. <entry>spring-security-web</entry>
  385. <entry></entry>
  386. <entry></entry>
  387. </row>
  388. <row>
  389. <entry>spring-security-acl</entry>
  390. <entry></entry>
  391. <entry>
  392. Required if you are using the <literal>accesscontrollist</literal> tag or
  393. <literal>hasPermission()</literal> expressions with ACLs (optional).
  394. </entry>
  395. </row>
  396. <row>
  397. <entry>spring-expression</entry>
  398. <entry></entry>
  399. <entry>Required if you are using SPEL expressions in your tag access constraints.</entry>
  400. </row>
  401. </tbody>
  402. </tgroup>
  403. </table>
  404. </para>
  405. </section>
  406. </appendix>