Adapted solution per comments to use zero-padding approach.
Tom Evans
April 25, 2014 at 7:27 PM
I think we can do this more simply by using StringUtils.zeroPadString to force the leading "bits" to be present in the string when loading. I will take a swing at this and update shortly.
Daryl Herzmann
April 25, 2014 at 5:38 PM
Tom, could you kindly review this patch and see what you think?
The unmarshalling from the Integer to Binary to Roles does not work correctly. The forum post has an small fix.