Instead of supporting both stateful and stateless nature of Identity from the same application, only one of them should be supported at the same time instead.
Stereotypes seems the best way to achieve that, providing a simple and standard way to configure Identity behavior.
|