Re: SaltSource Error with tapestry-spring-security

2009-02-07 Thread bongosdude
vice() { > public Object getSalt(UserDetails user) { > return null; > } > }; > > configuration.add(AliasContribution.create(SaltSourceService.class, > saltSource)); > } > >

SaltSource Error with tapestry-spring-security

2009-02-06 Thread bongosdude
I Just got this error and I could not figure it out yet. java.lang.RuntimeException: Service id 'SaltSource' has already been defined by nu.localhost.tapestry5.springsecurity.services.SecurityModule.buildSaltSource(String) (at SecurityModule.java:121) and may not be redefined by nu.localhost.tape

Tapestry-Spring-Security Exception when using PlainText Encoder

2009-01-28 Thread bongosdude
Hi, I am using PlainText password encoder now to test before I can change logic to provision UserDetails with MD5 or SHA encoded password. The problems are: 1. org.springframework.security append saltsource to plain text password if saltsource is not null or emtpy. If my password is 123456 and m

Re: How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread bongosdude
> you can put them into your web.xml file: > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > MyApp > > tapestry.supported-local

How Can I not hardcode value in contributeApplicationDefaults method.

2009-01-28 Thread bongosdude
hardcoded value in AppModule.contributeApplicationDefaults method is not a best practice. class AppModule { .. public static void contributeApplicationDefaults( MappedConfiguration configuration ) { configuration.add( SymbolConstants.SUPPORTED_LOCALES, "de,en" );

Re: Tapestry5-acegi+Tapestry5 5.0.18+SpringSecurity 2.0.4

2009-01-28 Thread bongosdude
I am looking at tapestry-spring-security now. I have one question though, 1. If I do not use hibernate but JDBC, then what AuthenticationProvider should be? Should it be OK with daoAuthenticationProvider? How is about if I am using OpenJPA instead of Hibernate? public static void contrib

Re: tapestry5-acegi version to work with Tapestry 5.0.15

2009-01-28 Thread bongosdude
That server is slow. It takes quite long to access to that server. -B Robin Helgelin wrote: > > On Mon, Oct 27, 2008 at 2:22 PM, Mahen Perera > wrote: >> nslookup is giving me: >> >> "DNS request timed out. >>timeout was 2 seconds." > >> Also, when I try to use the IP 212.247.86.108 , I

Re: T5 tapestry5-acegi salt source not overridable

2009-01-28 Thread bongosdude
tapestry5 does not work with T5 5.0.18. I got error messages that say serivice SaltSource is built twice. If I removed the buildSourceSource static method. The error went away. Also tapestry5-acegi depends on acegi old version 1.0x which hinders to projects that integrates with SpringFramework la

Tapestry5-acegi+Tapestry5 5.0.18+SpringSecurity 2.0.4

2009-01-28 Thread bongosdude
1. Has anyone figured out how to use Tapesry5-acegi with SpringSecurity 2.0.4 and Tapestry5 5.0.18 yet? I have tried the last few days to recompile tapestry5 against SpringSecurity 2.0.4 but have not made any progress yet. 2. I have read Tapestry5 howto to find out alternative way to use springse