You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Anton Bessonov <ex...@googlemail.com> on 2012/08/12 20:53:53 UTC
Small Wicket Auth Example
Hello wicketeers,
I've updated my old small Wicket example to 1.5.7 and pushed it to
github [1]. It's available under cc-by license (also for commercial use,
redistributing and so on). Maybe helpful for someone.
Example include:
- i18n
- Hibernate (hsqldb is default and mysql example config is included)
- Authentication (Register/Login/Logout, persistent)
- Simple Authorization (is_user, is_anonymous roles)
- Spring DI
- Standalone application packaging (with Jetty and maven-shade-plugin)
- Good test coverage
Following dependencies are declared:
<wicket.version>1.5.7</wicket.version>
<jetty.version>6.1.25</jetty.version>
<slf4j.version>1.6.6</slf4j.version>
<log4j.version>1.2.14</log4j.version>
<hibernate-core-version>4.1.5.Final</hibernate-core-version>
<javassist.version>3.9.0.GA</javassist.version>
<spring.version>3.1.2.RELEASE</spring.version>
<wicket-spring-annot.version>1.3.7</wicket-spring-annot.version>
<junit.version>4.8.1</junit.version>
<commons-codec.version>1.4</commons-codec.version>
<c3p0.version>0.9.1.2</c3p0.version>
<mysql.version>5.1.6</mysql.version>
<hsqldb.version>2.2.8</hsqldb.version>
Improvements, comments, forks and pull requests are welcome.
[1] https://github.com/Bessonov/wicket-example
Best regards
Anton
--
Oracle Certified Expert, Enterprise JavaBeans Developer
Oracle Certified Professional, Java SE 6 Programmer
Professional Scrum Master I & II
Re: Small Wicket 6 Auth Example
Posted by Anton Bessonov <ex...@googlemail.com>.
Hello Martin,
I removed it from dependency, thank you!
Best regards,
Anton
On 09/27/2012 09:15 AM, Martin Grigorov wrote:
>> <wicket-spring-annot.version>1.3.7</wicket-spring-annot.version>
> ^^ This is not really needed.
--
Oracle Certified Expert, Enterprise JavaBeans Developer
Oracle Certified Professional, Java SE 6 Programmer
Professional Scrum Master I & II
Now that's a test of the character of an organization.
Of the organizations that are attempting to implement
Scrum probably, 30% - 35% will successfully implement it.
- Ken Schwaber
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Small Wicket 6 Auth Example
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
On Wed, Sep 26, 2012 at 11:39 PM, Anton Bessonov <ex...@googlemail.com> wrote:
> Hello Wicketeers,
>
> now same example for Wicket 6 and Jetty 8:
>
> https://github.com/Bessonov/wicket-6-example
>
> Best regards,
>
> Anton
>
> On 08/12/2012 08:53 PM, Anton Bessonov wrote:
>>
>> Hello wicketeers,
>>
>> I've updated my old small Wicket example to 1.5.7 and pushed it to github
>> [1]. It's available under cc-by license (also for commercial use,
>> redistributing and so on). Maybe helpful for someone.
>>
>> Example include:
>> - i18n
>> - Hibernate (hsqldb is default and mysql example config is included)
>> - Authentication (Register/Login/Logout, persistent)
>> - Simple Authorization (is_user, is_anonymous roles)
>> - Spring DI
>> - Standalone application packaging (with Jetty and maven-shade-plugin)
>> - Good test coverage
>>
>> Following dependencies are declared:
>> <wicket.version>1.5.7</wicket.version>
>> <jetty.version>6.1.25</jetty.version>
>> <slf4j.version>1.6.6</slf4j.version>
>> <log4j.version>1.2.14</log4j.version>
>> <hibernate-core-version>4.1.5.Final</hibernate-core-version>
>> <javassist.version>3.9.0.GA</javassist.version>
>> <spring.version>3.1.2.RELEASE</spring.version>
>> <wicket-spring-annot.version>1.3.7</wicket-spring-annot.version>
^^ This is not really needed.
>> <junit.version>4.8.1</junit.version>
>> <commons-codec.version>1.4</commons-codec.version>
>> <c3p0.version>0.9.1.2</c3p0.version>
>> <mysql.version>5.1.6</mysql.version>
>> <hsqldb.version>2.2.8</hsqldb.version>
>>
>> Improvements, comments, forks and pull requests are welcome.
>>
>> [1] https://github.com/Bessonov/wicket-example
>>
>> Best regards
>>
>> Anton
>
>
> --
> Oracle Certified Expert, Enterprise JavaBeans Developer
> Oracle Certified Professional, Java SE 6 Programmer
> Professional Scrum Master I & II
>
> Now that's a test of the character of an organization.
> Of the organizations that are attempting to implement
> Scrum probably, 30% - 35% will successfully implement it.
> - Ken Schwaber
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Small Wicket 6 Auth Example
Posted by Anton Bessonov <ex...@googlemail.com>.
Hello Wicketeers,
now same example for Wicket 6 and Jetty 8:
https://github.com/Bessonov/wicket-6-example
Best regards,
Anton
On 08/12/2012 08:53 PM, Anton Bessonov wrote:
> Hello wicketeers,
>
> I've updated my old small Wicket example to 1.5.7 and pushed it to
> github [1]. It's available under cc-by license (also for commercial
> use, redistributing and so on). Maybe helpful for someone.
>
> Example include:
> - i18n
> - Hibernate (hsqldb is default and mysql example config is included)
> - Authentication (Register/Login/Logout, persistent)
> - Simple Authorization (is_user, is_anonymous roles)
> - Spring DI
> - Standalone application packaging (with Jetty and maven-shade-plugin)
> - Good test coverage
>
> Following dependencies are declared:
> <wicket.version>1.5.7</wicket.version>
> <jetty.version>6.1.25</jetty.version>
> <slf4j.version>1.6.6</slf4j.version>
> <log4j.version>1.2.14</log4j.version>
> <hibernate-core-version>4.1.5.Final</hibernate-core-version>
> <javassist.version>3.9.0.GA</javassist.version>
> <spring.version>3.1.2.RELEASE</spring.version>
> <wicket-spring-annot.version>1.3.7</wicket-spring-annot.version>
> <junit.version>4.8.1</junit.version>
> <commons-codec.version>1.4</commons-codec.version>
> <c3p0.version>0.9.1.2</c3p0.version>
> <mysql.version>5.1.6</mysql.version>
> <hsqldb.version>2.2.8</hsqldb.version>
>
> Improvements, comments, forks and pull requests are welcome.
>
> [1] https://github.com/Bessonov/wicket-example
>
> Best regards
>
> Anton
--
Oracle Certified Expert, Enterprise JavaBeans Developer
Oracle Certified Professional, Java SE 6 Programmer
Professional Scrum Master I & II
Now that's a test of the character of an organization.
Of the organizations that are attempting to implement
Scrum probably, 30% - 35% will successfully implement it.
- Ken Schwaber