vished2000
vished2000

Reputation: 148

Shiro Subject filled with Pac4j?

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?

Upvotes: 0

Views: 151

Answers (1)

Related Questions