com.sun.identity.saml2.profile
Class NameIDMapping

java.lang.Object
  extended by com.sun.identity.saml2.profile.NameIDMapping

public class NameIDMapping
extends Object

This class provides methods to send or processs NameIDMappingRequest.


Method Summary
static NameIDMappingResponse initiateNameIDMappingRequest(Object session, String realm, String spEntityID, String idpEntityID, String targetSPEntityID, String targetNameIDFormat, Map paramsMap)
          Parses the request parameters and builds the NameIDMappingRequest to sent to remote identity provider.
 

Method Detail

initiateNameIDMappingRequest

public static NameIDMappingResponse initiateNameIDMappingRequest(Object session,
                                                                 String realm,
                                                                 String spEntityID,
                                                                 String idpEntityID,
                                                                 String targetSPEntityID,
                                                                 String targetNameIDFormat,
                                                                 Map paramsMap)
                                                          throws SAML2Exception
Parses the request parameters and builds the NameIDMappingRequest to sent to remote identity provider.

Parameters:
session - user session.
realm - the realm of hosted entity
spEntityID - entity ID of hosted service provider
idpEntityID - entity ID of remote idendity provider
targetSPEntityID - entity ID of target entity ID of service provider
targetNameIDFormat - format of target Name ID
paramsMap - Map of all other parameters
Returns:
the NameIDMappingResponse
Throws:
SAML2Exception - if error initiating request to remote entity.