The unmarshalling from the Integer to Binary to Roles does not work correctly. The forum post has an small fix.
Required changes for correct unmarshalling.
Assigning to next release in hopes of code review
Tom, could you kindly review this patch and see what you think?
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.
Adapted solution per comments to use zero-padding approach.