SEC-540,SEC-541. Reorganized to get docbook to generate prior to the site with images correct for both pdf and html. Borrowed nuxeo project stylesheets.
92
pom.xml
@ -136,11 +136,6 @@
|
|||||||
</organization>
|
</organization>
|
||||||
<timezone>+10</timezone>
|
<timezone>+10</timezone>
|
||||||
</developer>
|
</developer>
|
||||||
<developer>
|
|
||||||
<name>Francois Beausoleil</name>
|
|
||||||
<id>fbos</id>
|
|
||||||
<email>fbos at users.sourceforge.net</email>
|
|
||||||
</developer>
|
|
||||||
<developer>
|
<developer>
|
||||||
<name>Colin Sampaleanu</name>
|
<name>Colin Sampaleanu</name>
|
||||||
<id>colins</id>
|
<id>colins</id>
|
||||||
@ -155,7 +150,7 @@
|
|||||||
<developer>
|
<developer>
|
||||||
<name>Luke Taylor</name>
|
<name>Luke Taylor</name>
|
||||||
<id>luke_t</id>
|
<id>luke_t</id>
|
||||||
<email>luke at monkeymachine.ltd.uk</email>
|
<email>luke_t at users.sourceforge.net</email>
|
||||||
<organization>
|
<organization>
|
||||||
Monkey Machine Ltd. (http://monkeymachine.ltd.uk)
|
Monkey Machine Ltd. (http://monkeymachine.ltd.uk)
|
||||||
</organization>
|
</organization>
|
||||||
@ -177,15 +172,11 @@
|
|||||||
<email>markstg at users.sourceforge.net</email>
|
<email>markstg at users.sourceforge.net</email>
|
||||||
</developer>
|
</developer>
|
||||||
<developer>
|
<developer>
|
||||||
<name>Vishal Puri</name>
|
<name>John A. Lewis</name>
|
||||||
<id>vishalpuri</id>
|
<id>johnalewis</id>
|
||||||
<email>vishalpuri at users.sourceforge.net</email>
|
<email>johnalewis at users.sourceforge.net</email>
|
||||||
<organization>
|
|
||||||
Interface21 Pty Limited (http://www.interface21.com)
|
|
||||||
</organization>
|
|
||||||
<timezone>+10</timezone>
|
|
||||||
</developer>
|
</developer>
|
||||||
</developers>
|
</developers>
|
||||||
|
|
||||||
<contributors>
|
<contributors>
|
||||||
<contributor>
|
<contributor>
|
||||||
@ -198,6 +189,9 @@
|
|||||||
<name>Patrick Burleson</name>
|
<name>Patrick Burleson</name>
|
||||||
</contributor>
|
</contributor>
|
||||||
<contributor>
|
<contributor>
|
||||||
|
<name>Francois Beausoleil</name>
|
||||||
|
</contributor>
|
||||||
|
<contributor>
|
||||||
<name>Wesley Hall</name>
|
<name>Wesley Hall</name>
|
||||||
</contributor>
|
</contributor>
|
||||||
<contributor>
|
<contributor>
|
||||||
@ -236,7 +230,16 @@
|
|||||||
<contributor>
|
<contributor>
|
||||||
<name>Robin Bramley</name>
|
<name>Robin Bramley</name>
|
||||||
</contributor>
|
</contributor>
|
||||||
</contributors>
|
<contributor>
|
||||||
|
<name>Robert Sanders</name>
|
||||||
|
</contributor>
|
||||||
|
<contributor>
|
||||||
|
<name>Vishal Puri</name>
|
||||||
|
</contributor>
|
||||||
|
<contributor>
|
||||||
|
<name>Martin Algesten</name>
|
||||||
|
</contributor>
|
||||||
|
</contributors>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -386,6 +389,52 @@
|
|||||||
<groupId>com.agilejava.docbkx</groupId>
|
<groupId>com.agilejava.docbkx</groupId>
|
||||||
<artifactId>docbkx-maven-plugin</artifactId>
|
<artifactId>docbkx-maven-plugin</artifactId>
|
||||||
<version>2.0.6</version>
|
<version>2.0.6</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>build-singlehtml-doc</id>
|
||||||
|
<phase>pre-site</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>generate-html</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sourceDirectory>${docbook.source}</sourceDirectory>
|
||||||
|
<targetDirectory>${docbook.target}</targetDirectory>
|
||||||
|
<inputs>springsecurity.xml</inputs>
|
||||||
|
<chunkedOutput>false</chunkedOutput>
|
||||||
|
<!--
|
||||||
|
<htmlStylesheet>css/spring-security-docbook.css</htmlStylesheet>
|
||||||
|
<htmlCustomization>
|
||||||
|
${docbook.source}/resources/xsl/spring-security-docbook-html.xsl
|
||||||
|
</htmlCustomization>
|
||||||
|
-->
|
||||||
|
<postProcess>
|
||||||
|
<copy todir="${docbook.target}/images">
|
||||||
|
<fileset dir="${docbook.source}/images">
|
||||||
|
<include name="*.png"/>
|
||||||
|
<include name="*.gif"/>
|
||||||
|
<include name="*.jpg"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
</postProcess>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>build-pdf-doc</id>
|
||||||
|
<phase>pre-site</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>generate-pdf</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<sourceDirectory>${docbook.source}</sourceDirectory>
|
||||||
|
<targetDirectory>${docbook.target}</targetDirectory>
|
||||||
|
<inputs>springsecurity.xml</inputs>
|
||||||
|
<imgSrcPath>${docbook.source}/</imgSrcPath>
|
||||||
|
<admonGraphicsPath>${docbook.source}/resources/images/admons/</admonGraphicsPath>
|
||||||
|
<foCustomization>${docbook.source}/resources/xsl/spring-security-docbook-fopdf.xsl
|
||||||
|
</foCustomization>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.docbook</groupId>
|
<groupId>org.docbook</groupId>
|
||||||
@ -394,9 +443,6 @@
|
|||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<configuration>
|
|
||||||
<targetDirectory>${basedir}/target/site/guide</targetDirectory>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
@ -422,12 +468,6 @@
|
|||||||
</configLocation>
|
</configLocation>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
-->
|
|
||||||
<!--
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-pmd-plugin</artifactId>
|
|
||||||
</plugin>
|
|
||||||
-->
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
@ -528,6 +568,8 @@
|
|||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
<properties>
|
<properties>
|
||||||
<spring.version>1.2.9</spring.version>
|
<spring.version>1.2.9</spring.version>
|
||||||
</properties>
|
<docbook.source>${basedir}/src/docbkx</docbook.source>
|
||||||
|
<docbook.target>${basedir}/target/site/guide</docbook.target>
|
||||||
|
</properties>
|
||||||
|
|
||||||
</project>
|
</project>
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
@ -812,8 +812,14 @@ if (obj instanceof UserDetails) {
|
|||||||
<imagedata align="center"
|
<imagedata align="center"
|
||||||
fileref="images/SecurityInterception.gif"
|
fileref="images/SecurityInterception.gif"
|
||||||
format="GIF" />
|
format="GIF" />
|
||||||
</imageobject>
|
|
||||||
|
|
||||||
|
</imageobject>
|
||||||
|
<imageobject role="fo">
|
||||||
|
<imagedata align="center"
|
||||||
|
fileref="images/SecurityInterception.gif"
|
||||||
|
format="GIF" />
|
||||||
|
|
||||||
|
</imageobject>
|
||||||
<caption>
|
<caption>
|
||||||
<para>Figure 1: The key "secure object" model</para>
|
<para>Figure 1: The key "secure object" model</para>
|
||||||
</caption>
|
</caption>
|
||||||
@ -4671,7 +4677,7 @@ public boolean supports(Class clazz);</programlisting></para>
|
|||||||
implementations.</para>
|
implementations.</para>
|
||||||
|
|
||||||
<para><mediaobject>
|
<para><mediaobject>
|
||||||
<imageobject role="html">
|
<imageobject>
|
||||||
<imagedata align="center" fileref="images/AfterInvocation.gif"
|
<imagedata align="center" fileref="images/AfterInvocation.gif"
|
||||||
format="GIF" />
|
format="GIF" />
|
||||||
</imageobject>
|
</imageobject>
|
||||||
|
BIN
src/site/resources/images/logo.gif
Normal file
After Width: | Height: | Size: 8.7 KiB |