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? >
