public class WSFederationClient extends Object
WSFederationClient
is used to retrieve the SAML
Assertion remotely for a given user session.Constructor and Description |
---|
WSFederationClient() |
Modifier and Type | Method and Description |
---|---|
static String |
getUserSAMLAssertion(String tokenID,
String entityID,
String entityRole)
Returns the user SAML Assertion for a given session established by
WS-Federation protocol.
|
static String |
getUserSAMLAssertion(String tokenID,
String url,
String entityID,
String entityRole)
Returns the user SAML Assertion for a given session established by
WS-Federation protocol.
|
public static String getUserSAMLAssertion(String tokenID, String entityID, String entityRole) throws WSFederationException
tokenID
- the URL encoded session string.entityID
- the entityID of the federation providerentityRole
- the entity role of the federation profile.
Possible values are "RP" or "IP".WSFederationException
public static String getUserSAMLAssertion(String tokenID, String url, String entityID, String entityRole) throws WSFederationException
tokenID
- the URL encoded session string.url
- the endpoint where the assertion could be obtainedentityID
- the entityID of the federation providerentityRole
- the entity role of the federation profile.
Possible values are "RP" or "IP".WSFederationException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.