* Test loading a configuration with a default 'authorize' definition
* which contains two roles.
*/
public void testDefaultRoles() throws Exception
{
WSSecurityConfiguration wsConfig = load("jboss-wsse-default-roles.xml");
Config config = wsConfig.getDefaultConfig();
Authorize authorize = config.getAuthorize();
assertFalse("Unchecked", authorize.isUnchecked());
List<Role> roles = authorize.getRoles();
assertEquals("Expected 2 roles", 2, roles.size());