You can just define a single principal to be whatever object you want.
It can contain whatever user properties you may desire.


On Nov 25, 2012, at 5:27 PM, Cemo wrote:

> 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 <[email protected]> wrote:
> 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. AuthenticationInfo data fetched from 
> Realm is not stored at WebDelegatingSubject as far as I know. Even if my 
> realm provides AuthenticationInfo data with necessary fields I can not access 
> them from my Subject.
> 
> It seems that I am missing something. 
> 
> Any help?
> 

Reply via email to