Hi François,
Sounds interesting.
Do you mind sharing the highlights of how you use the cache to sync the
authorization and authentication of the principal?
Thanks
Stephen
On Thu, Jul 28, 2022 at 4:12 AM Francois Papon
wrote:
> Hi,
>
> I already did something like this for a jwt realm and I u
Hi,
I already did something like this for a jwt realm and I used the shiro
cache to sync the authorization and authentication of the principal.
regards,
François
On 28/07/2022 05:28, Telmo Brugnara wrote:
Yes, it did, thanks Benjamin! I've managed to create a
KeycloakShiroRealm [1] to handl
Yes, it did, thanks Benjamin! I've managed to create a
KeycloakShiroRealm [1] to handle the roles ;)
I'm still using an AuthenticationFilter, but now I'm creating the
subject with the WebSubject.Builder
The current solution is a bit (a lot?) hacky, since I had to use
reflection to unwrap the Shir
Hi Telmo!
Sorry for the late reply.
> How can I, after creating a Shiro Subject, add roles to it?
and
> it would be better to use something like an AuthorizingRealm
You are right: It is usually the realms which add roles to a subject.
And actually, the roles are not bound to on login-time. Ins