[jboss-dev-forums] [Design of JBoss Identity] - Re: JBoss Identity Design Preview
jeff.yuchang
do-not-reply at jboss.com
Mon Oct 27 03:55:48 EDT 2008
"bdaw" wrote : I was thinking about using something similar to JNDI SearchControl mechanism. Then offset/limit and orderByName/ascending could be placed in two separate objects passed in an array.
|
|
| | Collection<Identity> findAssociatedIdentities(Group group, boolean inherited) throws IdentityException;
| |
| | Collection<Identity> findAssociatedIdentities(Group group, boolean inherited, IdentitySearchControl[] isc) throws IdentityException;
| |
|
| One benefit is to let add other parameters in the future, the other is easy discovery of supported features (is specific control supported).
|
| What kind of extensions do you have in mind btw?
|
|
when I referred to extension, I was thinking about we might want to oder by some other attributes. not just name.
The above approach seems better to me, as you said, it would be easy for us to discover the supported features then 'Parameter Object' way.
-Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184744#4184744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184744
More information about the jboss-dev-forums
mailing list