1 Reply Latest reply on Mar 14, 2012 5:50 AM by Bas Couwenberg

    Decrypt assertion from SamlPrincipal

    Bas Couwenberg Newbie

      Following the articles at https://community.jboss.org/wiki/HowToAddSAMLAndOpenIDAuthenticationToYourSeamApplication and https://community.jboss.org/wiki/ExternalAuthenticationExampleUsingOpenSSO I managed to get my Seam application working with OpenAm(OpenSSO). After I login I get redirected and the method: public Boolean internalAuthenticate(Principal principal, List<String> roles) is called. At this point I need to do something with the username from the login action. Is it possible to retrieve this data from the Assertion in a decrypted form? And if so how do I accomplish this?