Spring Security and Facelets

For my bachelor theses I've needed to combine Spring Security and Facelets. You can download the result of my work here

Latest news

  • 2010-06-17
    A new Version 0.4 was just put into SVN for testing. Please try it out, so we can release it as stable. Any feedback &/ additional testcases would be greatly appreciated!
  • 2009-09-08
    We now have our own Google Group to provide you with support and announcements.
  • 2009-09-08
    Updated Project to allow the usage of JSF 2.0 and Spring 3/ Spring-Security 3
  • 2009-08-07
    Added the sample-webapp for jsf 2.0
  • 2009-08-07
    Made some small bugfixes. Please also have a look at ourIssue Tracker.
  • 2009-08-06
    I've ported the 0.1 version of the taglib to use the jsf 2.0 api
  • 2009-06-15
    We've moved our repository to google-code. You can find it here.
  • 2009-06-15
    I've got a new mate working on my our taglib: Piotr Steininger joined me
  • 2009-05-19
    I've created a sample webapp that uses the taglib. You can find it below.

Looking for improvements! / Commit request!

Please don't simply copy the sourcecode from the sources packages into your own projects. Either try to include the package as is with the jar files or checkout our source from SVN, make your changes there, compile & test locally and then provide your changes back to us! We're giving you this taglib for free, please give your improvements back!

Join us!

If you want to send me some bugfixes, patches, flowers or atomic bombs, please also use the address above.

I'm already in contact with SpringSource to incorporate the taglib into spring-security / spring-security-taglibs itself. In the meantime, you can use our repository at google-code

Maven 2 Integration: Repository

Add this code snippet to your <repositories> section in either pom.xml or settings.xml:
                    <repository>
                    <id>org.springframework.security.taglibs.facelets</id>
                    <url>http://spring-security-facelets-taglib.googlecode.com/svn/repo/</url>
                    </repository>
                

Outdated: Maven 2 Integration: JSF 1.2 and Spring 2 / Spring-Security 2

Add this code to the <dependencies> section of your pom.xml
                    <dependency>
                    <groupId>

                    org.springframework.security
                    <groupId>
                    <artifactId>facelets-taglib</artifactId>
                    <version>
                    0.2_jsf-1.2-spring-2
                    </version>
                    </dependency>
                

Outdated: Maven 2 Integration: JSF 1.2 and Spring 3 / Spring-Security 3

Add this code to the <dependencies> section of your pom.xml
                    <dependency>
                    <groupId>

                    org.springframework.security
                    <groupId>
                    <artifactId>facelets-taglib</artifactId>
                    <version>
                    0.2_jsf-1.2-spring-3
                    </version>
                    </dependency>
                

Outdated: Maven 2 Integration: JSF 2.0 and Spring 2 / Spring-Security 2

Add this code to the <dependencies> section of your pom.xml
                    <dependency>
                    <groupId>

                    org.springframework.security
                    <groupId>
                    <artifactId>facelets-taglib</artifactId>
                    <version>
                    0.2_jsf-2.0-spring-2
                    </version>
                    </dependency>
                

Outdated: Maven 2 Integration: JSF 2.0 and Spring 3 / Spring-Security 3

Add this code to the <dependencies> section of your pom.xml
                    <dependency>
                    <groupId>

                    org.springframework.security
                    <groupId>
                    <artifactId>facelets-taglib</artifactId>
                    <version>
                    0.2_jsf-2.0-spring-3
                    </version>
                    </dependency>
                

Example

Just configure your spring-security app the normal way, add
                    xmlns:sec="http://www.springframework.org/security/facelets/tags"
                
to the <html>-tag of your .xhtml file... ah I'm too lazy to type this all in, just look at the Spring-Security + Facelets Example and take a look at the provided example webapps (see above)

Contact me

Dominik Dorn:
Email: dominik DOT dorn AT gmail DOT COM Homepage: Dominik Dorn
Skype: domdorn
Jabber: same as email.