Yeah, I need to formally release it with the Apache 2.0 license. I'll try to get it on github today.
Robert On May 28, 2012, at 5/2810:29 AM , Alejandro Scandroli wrote: > Hi All > > Even for 5.2.6 I needed to change the RegexAuthorizer contributions. > This is how my configuration looks like: > > public void contributeRegexAuthorizer(Configuration<String> regex, > ClasspathAssetAliasManager > classpathAssetAliasManager, > > @Symbol(SymbolConstants.APPLICATION_VERSION) String appVersion) { > > final String pathPattern = > "([^/.]+/)*[^/.]+\\.((css)|(js)|(jpg)|(jpeg)|(png)|(gif))$"; > > for (String folder : classpathAssetAliasManager.getMappings().keySet()) > { > regex.add(appVersion + "/" + folder + "/" + pathPattern); > } > > String contextPathPattern = > "/(?!(WEB-INF)|(META-INF))([^/.]+/)*[^/]+(?<!\\.tml)$"; > regex.add(appVersion + "/" + RequestConstants.CONTEXT_FOLDER + > contextPathPattern); > } > > > BTW Robert, I found the code available in the saiwai repo, but I > couldn't find any license notice. Is it OK to copy it? Do you mind if > I upload it to github? > > On a related note, just today I was thinking about adding some of the > AssetProtectionDispatcher features to tapestry-security > https://jira.codehaus.org/browse/TYNAMO-162 > > Cheers. > Alejandro. > > > On Mon, May 28, 2012 at 4:48 PM, Robert Zeigler > <robert.zeig...@roxanemy.com> wrote: >> I have pushed version 1.2.0 up to the saiwai repo. It compiles against >> 5.3.3; the unit tests pass, but it isn't "field" tested and I won't have >> time to really give it a workout for awhile. >> But I'm happy to incorporate any feedback. In particular, 5.3.3 has the >> "extended paths" for assets and the AssetProtectionDispatcher isn't >> considering that, so if you use that feature, YMMV. >> >> Robert >> >> On May 28, 2012, at 5/288:48 AM , Angelo C. wrote: >> >>> Hi, >>> >>> Do we have Robert's AssetProtectionDispatcher for 5.3.3? thanks, >>> >>> Angelo >>> >>> -- >>> View this message in context: >>> http://tapestry.1045711.n5.nabble.com/AssetProtectionDispatcher-for-5-3-3-tp5713443.html >>> Sent from the Tapestry - User mailing list archive at Nabble.com. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org