-
1. Re: Add User Profile Data to login module
starksm64 Oct 25, 2005 9:20 PM (in response to acoliver)How would the LmProfileExt be used, from the base class that subclass may implement? This is pretty much just a particular implementation of a CallbackHandler with a map type Callback so you could just use that and not require any specific contract be implemented by the login module. Instead, a CallbackHandler would be specified along with one or more Callback instances to populate. The problem is how to map the value into the subject.
The additional queries seem fine. -
2. Re: Add User Profile Data to login module
acoliver Oct 26, 2005 10:53 AM (in response to acoliver)I'd probably just put it on the subclasses that implement it, since some login modules may not have extended properties.
This can be JBoss specific, how about SecurityAssociation.getExtendedSubject() which returns ExtendedSubject which has the gets for the profile and "getSubject" for the normal subject? -
3. Re: Add User Profile Data to login module
starksm64 Oct 26, 2005 10:07 PM (in response to acoliver)The SecurityAssociation is fragile to extend so I would be relucant to do that until we look further into what is required to integration with security frameworks like saml that also allow for extended subject attributes. Its not clear how this fits into the jaas authentication layer.