use of org.wildfly.security.auth.permission.ChangeRoleMapperPermission in project wildfly by wildfly.
the class TimeoutMethodWithRunAsAnnotationTestCase method deploy.
@Deployment
public static Archive<?> deploy() {
JavaArchive jar = ShrinkWrap.create(JavaArchive.class, "myJar.jar");
jar.addPackage(TimeoutMethodWithRunAsAnnotationTestCase.class.getPackage());
jar.addAsManifestResource(createPermissionsXmlAsset(new ElytronPermission("setRunAsPrincipal"), new ChangeRoleMapperPermission("ejb")), "permissions.xml");
return jar;
}
Aggregations