Class WSFederationService
- java.lang.Object
-
- com.sun.identity.wsfederation.servlet.WSFederationService
-
@Path("wsfederationservice") public class WSFederationService extends ObjectThe ws-federation service enables the applications to retrieve the user's single sign-on SAML Assertion.
-
-
Constructor Summary
Constructors Constructor Description WSFederationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAssertion(String token, String entityID, String entityRole)Returns the cached SAML Assertion for a given user session.
-
-
-
Field Detail
-
RP
public static final String RP
- See Also:
- Constant Field Values
-
IP
public static final String IP
- See Also:
- Constant Field Values
-
-
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 entityIDentityRole- the entity role for e.g. RP or IP- Returns:
- the SAML Assertion xml string
-
-