Yes, that looks correct to me. In my code, I instantiate a SimpleAccount instead of SimpleAuthorizationInfo, but it looks like the same basic code.
So yes, just use the strings to add to the collections. Mark -- View this message in context: http://shiro-user.582556.n2.nabble.com/adding-roles-and-adding-permissions-tp7578488p7578490.html Sent from the Shiro User mailing list archive at Nabble.com.
