Class WSFederationService


  • @Path("wsfederationservice")
    public class WSFederationService
    extends Object
    The ws-federation service enables the applications to retrieve the user's single sign-on SAML Assertion.
    • Constructor Detail

      • WSFederationService

        public WSFederationService()
    • Method Detail

      • getAssertion

        @GET
        @Produces("application/xml")
        public String getAssertion​(@QueryParam("token")
                                   String token,
                                   @QueryParam("entityID")
                                   String entityID,
                                   @QueryParam("entityRole")
                                   String entityRole)
        Returns the cached SAML Assertion for a given user session. The user's SAML Assertion here is retrieved through respective SP or the IDP Cache. Currently only the SP stores the Assertion in the cache.
        Parameters:
        token - the user's session.
        entityID - the entityID
        entityRole - the entity role for e.g. RP or IP
        Returns:
        the SAML Assertion xml string