Experiences with JSR-170 and Alfresco, Part I

Nowadays, I have found chance to read about Java Content Repository API specification aka JSR-170 and play with Alfreco which is a nice implementation of it. More specifically I have focused on developing a wiki model using content repository constructs available in the Alfresco. It is obvious that contents which are hierarchical in nature, eg. […]

Read More →
Enabling SSL on Apache HTTP Server

After opening our JIRA to outside world via Apache HTTP Server, the next obvious thing was securing communication between users and the web server. Enabling SSL on Apache HTTP Server is really easy. The key ingredients of securing Apache are mod_ssl and OpenSSL. It is possible to download Apache distribution including mod_ssl and openssl runtime. […]

Read More →
Running Jetty Embedded Continued

>For some time ago, i had mentioned about running jetty embedded. This time while I am still running it embedded, I need to set “WebContent” path from inside classpath of the application. It will reside next to my test class. As I don’t want to couple my test case with the absolute path of the […]

Read More →
Proxying Tomcat with Apache HTTP Server

There is a bunch of step by step tutorials and good references about putting Apache in front of Tomcat around net. Nevertheless, I wrote this article, mainly for myself, in case I come up with same requirement in sometime later. First, let me give a little background information about problem. We have served JIRA through […]

Read More →
Wiring a Bean with BeanReferenceFactoryBean

For some reason or other you may have more than one bean definition with same type configured in you application context, and you may want to use only one of them based on some condition or configuration option. For example, I have two PlatformTransactionManager beans configured in my application context. I configure both transaction manager […]

Read More →
Customizing JSF Required Field Messages per Component Instance

JSF is nice that it provides some useful built-in features to validate entered values or if provided any required one, but it fails at providing enough mechanism to let developers customize those features at the level of each component instance. This is a common drawback of JSF specification in general. We specify that user input […]

Read More →
Delegating Authentication to Web Services in Acegi

What I like most about Acegi Security Framework is its configurability and extendibility. I think those two features are very crucial for any framework to be successfull. Recently, I have come accross with a requirement of authenticating users via a web service, and giving more detailed authentication failure messages according to result codes returned from […]

Read More →
İstanbul Cup Üçüncü Sınıf Kalmaya Mahkum Edildi

Şimdiye kadar toprak kortta düzenlenen WTA İstanbul Cup turnuvası, bu sene mekan değişikliği ile İstinye’de yapılan sert kortlara taşındı. Ayrıca organizasyonun tarihi de Mayıs’ın son haftasından Temmuz’un son haftasına kaydırıldı. Bugüne kadar Tekstilkent’in yanında geçici olarak kurulmuş kortlarda düzenlenen turnuva için kalıcı bir yer yapılmaya başlanmasından ötürü, turnuvanın dünya çapında daha önemli bir yere gelmesi […]

Read More →
Redirecting Users to Different Start Pages based on Their Roles

pdf In our project there is a requirement such that some users may have to be redirected to different start pages based on roles assigned to them other than initially provided defaultTargetUrl. Actually there is a similar discussion in Spring Framework’s forum, suggesting a solution to this issue with extending AuthenticationProcessingFilter and overriding its successfulAuthentication(…) […]

Read More →
JSFUnit ve Jetty ile WicketTester Ouşturma Deneyimleri

Geçenlerde JSFUnit’i değişikliğe uğratarak WicketTester benzeri bir test altyapısı kurmaya çalıştım. WicketTester, istemci çağrılarını tek bir noktada ele alıyor. JSFUnit, HtmlUnit, Selenium gibi istemci- sunucu iletişimi söz konusu olmuyor. Ancak JSFUnit in-container test framework. Bu nedenle uygulamanın testlerle birlikte sunucuya deploy edilmesini ve sunucunun çalıştırılmasını bekliyor. HtmlUnit vasıtası ile sunucu tarafında uygulamaya request’ler göndererek JSFSession […]

Read More →