-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
In EE, it is possible to inject a Principal object.
I use Keycloak 3.0 on Wildfly 10.1. While the Principal object is injectable, its not an instance of KeycloakPrincipal, so it cannot be casted. Since Weld provides this bean, there should be someway to indicate that it should be a KeycloakPrincipal instead of the default Principal. I can see the right object gets injected, since the name is the same.