Closed ghost closed 9 years ago
It seems that Authentication object does not returning SAML assertion token? We're unable to find it out from the API use for SAML
Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); SAMLCredential credential = (SAMLCredential) authentication.getCredentials(); pageContext.setAttribute("authentication", authentication); pageContext.setAttribute("credential", credential);
Could you please let us know how to get token?
For any questions, please, use StackOverflow. Cheers, Vi.
It seems that Authentication object does not returning SAML assertion token? We're unable to find it out from the API use for SAML
Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); SAMLCredential credential = (SAMLCredential) authentication.getCredentials(); pageContext.setAttribute("authentication", authentication); pageContext.setAttribute("credential", credential);
Could you please let us know how to get token?