You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by hsalf <fl...@me.com> on 2010/12/31 13:22:56 UTC

[T5.2.4] Tapestry-Spring-Security 2.1.0 - ClassTransformation

Hi!

My application uses:
- Hibernate 3
- Spring Framework 3.0.5.RELEASE
- Spring Security 3.0.5.RELEASE
- Tapestry 5.2.4

To link Tapestry and Spring-Security, I use:
- Tapestry-Spring-Security 2.1.0:
http://www.localhost.nu/java/tapestry-spring-security/index.html

Unfortunately, the latest version of Tapestry-Spring-Security (2.1.0) does
not work with Tapestry 5.2.4.
(It did work with Tapestry 5.1.0.5)

So, I've started to develop a new version of Tapestry-Spring-Security from
the 2.1.0.
(The @Security Annotations are very powerful with Tapestry-Spring-Security,
so I'd like to keep it.)

However I do not know how to re-develop the SecurityWorker class which use
ClassTransformation and methods which are deprecated in T 5.2.4

Source :
http://www.localhost.nu/svn/public/tapestry-spring-security/branches/2.1/src/main/java/nu/localhost/tapestry5/springsecurity/services/internal/SpringSecurityWorker.java

Maybe all the SecurityWorker class is obsolete now...

Any ideas to re-develop the transform method?

Thank you for your time and help.
-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-4-Tapestry-Spring-Security-2-1-0-ClassTransformation-tp3323519p3323519.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.2.4] Tapestry-Spring-Security 2.1.0 - ClassTransformation

Posted by Taha Hafeez <ta...@gmail.com>.
Hi

You can do it using advices...

Look into the tapestry-core source code there are many examples in
org.apache.tapestry5.internal.transform package

regards
Taha


On Fri, Dec 31, 2010 at 5:52 PM, hsalf <fl...@me.com> wrote:

>
> Hi!
>
> My application uses:
> - Hibernate 3
> - Spring Framework 3.0.5.RELEASE
> - Spring Security 3.0.5.RELEASE
> - Tapestry 5.2.4
>
> To link Tapestry and Spring-Security, I use:
> - Tapestry-Spring-Security 2.1.0:
> http://www.localhost.nu/java/tapestry-spring-security/index.html
>
> Unfortunately, the latest version of Tapestry-Spring-Security (2.1.0) does
> not work with Tapestry 5.2.4.
> (It did work with Tapestry 5.1.0.5)
>
> So, I've started to develop a new version of Tapestry-Spring-Security from
> the 2.1.0.
> (The @Security Annotations are very powerful with Tapestry-Spring-Security,
> so I'd like to keep it.)
>
> However I do not know how to re-develop the SecurityWorker class which use
> ClassTransformation and methods which are deprecated in T 5.2.4
>
> Source :
>
> http://www.localhost.nu/svn/public/tapestry-spring-security/branches/2.1/src/main/java/nu/localhost/tapestry5/springsecurity/services/internal/SpringSecurityWorker.java
>
> Maybe all the SecurityWorker class is obsolete now...
>
> Any ideas to re-develop the transform method?
>
> Thank you for your time and help.
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-4-Tapestry-Spring-Security-2-1-0-ClassTransformation-tp3323519p3323519.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [T5.2.4] Tapestry-Spring-Security 2.1.0 - ClassTransformation

Posted by Florian Parain <fl...@me.com>.
Thank you Alex!
You saved me from a lot of pain!

I checkout the SNAPSHOT version of TSS and it seems to work so far!

Thanks again for this great job.
Happy New Year 
-- 
View this message in context: http://tapestry.1045711.n5.nabble.com/T5-2-4-Tapestry-Spring-Security-2-1-0-ClassTransformation-tp3323519p3325553.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5.2.4] Tapestry-Spring-Security 2.1.0 - ClassTransformation

Posted by Alex Kotchnev <ak...@gmail.com>.
This work has already been done in the  TSS trunk - you shouldn't have to
re-do it. Checkout the SNAPSHOT version of TSS and it should work w/ T5.2+
(it was tested and working w/ the T5.2-SNAPSHOT builds)

Regards,

Alex K

On Fri, Dec 31, 2010 at 7:22 AM, hsalf <fl...@me.com> wrote:

>
> Hi!
>
> My application uses:
> - Hibernate 3
> - Spring Framework 3.0.5.RELEASE
> - Spring Security 3.0.5.RELEASE
> - Tapestry 5.2.4
>
> To link Tapestry and Spring-Security, I use:
> - Tapestry-Spring-Security 2.1.0:
> http://www.localhost.nu/java/tapestry-spring-security/index.html
>
> Unfortunately, the latest version of Tapestry-Spring-Security (2.1.0) does
> not work with Tapestry 5.2.4.
> (It did work with Tapestry 5.1.0.5)
>
> So, I've started to develop a new version of Tapestry-Spring-Security from
> the 2.1.0.
> (The @Security Annotations are very powerful with Tapestry-Spring-Security,
> so I'd like to keep it.)
>
> However I do not know how to re-develop the SecurityWorker class which use
> ClassTransformation and methods which are deprecated in T 5.2.4
>
> Source :
>
> http://www.localhost.nu/svn/public/tapestry-spring-security/branches/2.1/src/main/java/nu/localhost/tapestry5/springsecurity/services/internal/SpringSecurityWorker.java
>
> Maybe all the SecurityWorker class is obsolete now...
>
> Any ideas to re-develop the transform method?
>
> Thank you for your time and help.
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/T5-2-4-Tapestry-Spring-Security-2-1-0-ClassTransformation-tp3323519p3323519.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>