Configuring Proxy Object in Ini File

2013-05-02 Thread Cemo
Hi, I am trying to injecting some of highly difficult objects in my Ini file. For realm and session manager I would like to use custom proxy instances based on Interfaces. I am programmatically registering as this: addServletListeners(new EnvironmentLoaderListener()); Is there a way to r

Re: Subjects with NIO (single thread - multiple Subjects)

2012-11-26 Thread Cemo
I am also interested in this topic. This is not exact answer of your question but seems that there is not any work for non single thread models. You can check details from here: http://mail-archives.apache.org/mod_mbox/shiro-user/201211.mbox/%3ccaatvd4wla_gu_1qofjbloo7ubyolmssa2yrxch-5tq-yzut...@m

Re: Custom Subjects

2012-11-25 Thread Cemo
It seems that I should use multiple principals. UserId for primary principal and User Entity for secondary. Thanks On 26 November 2012 00:07, Cemo wrote: > Ok, I have read entire documentation and also instead of using ini file I > have implemented necessary programmatic configu

Re: Custom Subjects

2012-11-25 Thread Cemo
Ok, I have read entire documentation and also instead of using ini file I have implemented necessary programmatic configuration implementation entirely via getters and setters. But It still is not clear for me why I should not extend WebDelegatingSubject and instead I should use custom Realm. Auth

Re: Custom Subjects

2012-11-25 Thread Cemo
Could you explain that where I will store necessary information such as birthday, email etc? And please note that there is a validation process for User which is utilizing annotations on fields. On 25 November 2012 17:25, Lenny Primak wrote: > I think you should provide a custom Realm, not a Sub

Custom Subjects

2012-11-25 Thread Cemo
Hi, I am trying to learn Shiro. I want to port a legacy application to Shiro. Legacy application has a User Entity. In order to port application to Shiro what I have in my mind is extending WebDelegatingSubject as this: public class User extends WebDelegatingSubject { > private Integer id; >

Re: How SecurityUtil works

2012-11-16 Thread Cemo
A fantastically thorough explanation. Thank you. On 16 November 2012 20:02, Les Hazlewood wrote: > Hi Cemo, > > Hi, >> >> This is actually a common question rather than Shiro specific. What I >> would like to learn is how org.apache.shiro.SecurityUtils#getSubject is

How SecurityUtil works

2012-11-15 Thread Cemo
Hi, This is actually a common question rather than Shiro specific. What I would like to learn is how org.apache.shiro.SecurityUtils#getSubject is working. I have checked necessary parts of the SecurityUtils and ThreadContext and I am totally puzzled now. The basic way that I understand Shiro's Sec

Re: Integration with JAX-RS

2012-11-14 Thread Cemo
I will share it after little polishing and providing test cases. Best Regards, Cemo On 14 November 2012 22:54, Les Hazlewood wrote: > Hi Cemo, > > While I can't speak to how AOP is or isn't used to support JAX-RS > annotations, there is some work that is being done

Integration with JAX-RS

2012-11-13 Thread Cemo
I am a totally newbie to Shiro land. I am trying to change Dropwizard to support Shiro. I have read documentation and am little puzzled. I would like to utilize Shiro in conjunction with form login authentication and Shiro Annotations. I think that I need to use Jersey Filters to support Shiro. Is