Package com.sun.identity.saml2.profile
Class NameIDMapping
java.lang.Object
com.sun.identity.saml2.profile.NameIDMapping
This class provides methods to send or process
NameIDMappingRequest
.-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
initiateNameIDMappingRequest
@Supported public static NameIDMappingResponse initiateNameIDMappingRequest(Object session, String realm, String spEntityID, String idpEntityID, String targetSPEntityID, String targetNameIDFormat, Map paramsMap) throws com.sun.identity.saml2.common.SAML2Exception Parses the request parameters and builds the NameIDMappingRequest to sent to remote identity provider.- Parameters:
session
- user session.realm
- the realm of hosted entityspEntityID
- entity ID of hosted service provideridpEntityID
- entity ID of remote idendity providertargetSPEntityID
- entity ID of target entity ID of service providertargetNameIDFormat
- format of target Name IDparamsMap
- Map of all other parameters- Returns:
- the
NameIDMappingResponse
- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if error initiating request to remote entity.
-