Shiro Subject filled with Pac4j?

85 Views Asked by At

I´m wondering how the Subject from Shiro is filled with Pac4j ? Normally I can use:

Subject subject = SecurityUtils.getSubject();

I´m using Keycloak with Pac4j. It´s working and the user is authenticated. But do I specifically set the Subject Object?

If I try to get the Subject object after successful authentication I still got subject.isAuthenticated = false ?

Or is Pac4J using another Subject Object?

1

There are 1 best solutions below

8
jleleu On