This content has been marked as final.
Show 1 reply
-
1. Re: Picketlink SAML SEAM module - "Encountered encrypted assertion. Skipping it because decryption is not yet supported."
claudio4j Jun 24, 2014 10:31 AM (in response to danielruiz)See if this helps to understand the reason behind the integration between PL and se. Use a SeamFilter to create the Seam Identity, and call the authenticator.authenticate to return true.
See a snippet of the Seam Filter
Principal userPrincipal = request.getUserPrincipal(); if (userPrincipal != null && userPrincipal.getName() != null) { String username = userPrincipal.getName(); if (username != null && !identity.isLoggedIn()) { new ContextualHttpServletRequest(request) { @Override public void process() throws ServletException, IOException, LoginException { Identity identity = Identity.instance(); identity.getCredentials().setUsername(userPrincipal.getName()); identity.authenticate(); } }.run();