SecurityIdentity identity = currentSecurityDomain.createAdHocIdentity("MyAdHocUser");
Probably i should use the method withDefaultRoleMapper passing my constant role mapper? But how can i get the role mapper?
identity.withDefaultRoleMapper()
--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/85d5da31-3827-49a4-8089-6ac0c43741b2n%40googlegroups.com.