Activating Authorization Success Event Publish Feature

Spring Security publishes various authentication and authorization events during its security checks. Spring managed beans which implement ApplicationListener interface or beans with methods annotated with @EventListener can consume those events within the application. One of those security related events is AuthorizedEvent which indicates that user request is allowed to access secure web resource. It is, […]

Read More →
Bu Devirde Şifreleri Hala Kriptolamadan mı Tutuyorsunuz?

Değerli Üyemiz, Sistemimizde yer alan kullanıcı adı ve şifreniz aşağıda bildirilmiştir: Kullanıcı Adı: XXX Şifre: XXX XXX’i tercih ettiğiniz için teşekkür ederiz. Yukarıda gördüğünüz mesaj çok ünlü bir İK sitemizdeki hesap bilgilerimi unuttuğumda e-posta adresime hatırlatıcı olarak gönderildi. İK firmasının adını XXX ile gizledim. XXX ile kapattığım diğer kısımlarda da kullanıcı adı ve şifrem yer […]

Read More →
Adding New Permission Types to Spring Security ACL

Domain object level security is probably least used feature of Spring Security compared to url based and method level security features for enterprise Java web applications. However, when you have a security requirement something like “I want to restrict some operations which is allowed for some roles based on criteria that can be obtained from […]

Read More →
Reusing Persistent Token Mechanism of Spring Security

Spring Security Framework exists in my enterprise application development tool suite for ages. Over years it has evolved a lot and become a much more reusable and extendable framework for various security needs. Recently, one of my clients came up with an interesting requirement. They are developing a mobile client for their enterprise web application, […]

Read More →