Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

(Fediz) STS - passing info from LoginModule to ClaimsHandler

$
0
0
Hello,

I am implementing a custom LoginModule and a custom ClaimsHandler for the Fediz STS. The custom classes are integrated into Fediz via config files, no problem. However, I do not know how to pass information from my LoginModule to my ClaimsHandler. I create a custom Principal (with custom claims) in the LoginModule based on authentication via an external security server. The problem is that the ClaimsHandler always only receives a SAMLTokenPrincipal which will not give me access to the custom claims. So far, do not see any alternative to accessing user account via the identifier from SAMLTokenPrincipal.getName(). But that only gives me access to the static user account, not to the transient state created during login.

Please let me know if I oversee something, any help is appreciated.

Kind regards,

Filip Hofer

Viewing all articles
Browse latest Browse all 5648

Trending Articles