question: private String saveParameters ( Set userSession , String userID , boolean isSOAPInitiated , boolean isIDPInitiated , String protocol , String realm , String idpEntityID , String spEntityID , String relayState , String singleLogoutRequestXML , String singleLogoutResponseXML , int currentStatus ) { String tmpRelayState = SAML2Utils . generateIDWithServerID ( ) ; relayStateMap . put ( tmpRelayState , relayState ) ; if ( debug . messageEnabled ( ) ) { debug . message ( "SingleLogoutManager.saveParameters: " + "userID=" + userID + ", session=" + userSession + ", orig relayState=" + relayState + ", new=" + tmpRelayState + ", isSOAInitiated=" + isSOAPInitiated + ", isIDPInitiated=" + isIDPInitiated + ", protocol=" + protocol + ", relam=" + realm + ", idpEntityID=" + idpEntityID + ", spEntityID=" + spEntityID + ", status=" + currentStatus + "\nlogout Request XML=" + singleLogoutRequestXML + "\nlogout response XML=" + singleLogoutResponseXML ) ; } if ( userSession != null ) { userSessionMap . put ( tmpRelayState , userSession ) ; } if ( userID != null ) { userIDMap . put ( tmpRelayState , userID ) ; } if ( isSOAPInitiated ) { isSOAPInitiatedMap . put ( tmpRelayState , Boolean . TRUE ) ; } else { isSOAPInitiatedMap . put ( tmpRelayState , Boolean . FALSE ) ; } if ( isIDPInitiated ) { isIDPInitiatedMap . put ( tmpRelayState , Boolean . TRUE ) ; } else { isIDPInitiatedMap . put ( tmpRelayState , Boolean . FALSE ) ; } if ( protocol != null ) { origProtocolMap . put ( tmpRelayState , protocol ) ; int listSize = protocolList . size ( ) ; List list = new ArrayList ( listSize - 1 ) ; for ( int i = 0 ; i < listSize ; i ++ ) { String proto = ( String ) protocolList . get ( i ) ; if ( ! proto . equals ( protocol ) ) { list . add ( proto ) ; } } protocolListMap . put ( tmpRelayState , list ) ; } if ( realm != null ) { realmMap . put ( tmpRelayState , realm ) ; } if ( idpEntityID != null ) { idpEntityIDMap . put ( tmpRelayState , idpEntityID ) ; } if ( spEntityID != null ) { spEntityIDMap . put ( tmpRelayState , spEntityID ) ; } if ( singleLogoutRequestXML != null ) { sloRequestXMLMap . put ( tmpRelayState , singleLogoutRequestXML ) ; } if ( singleLogoutResponseXML != null ) { sloResponseXMLMap . put ( tmpRelayState , singleLogoutResponseXML ) ; } currentStatusMap . put ( tmpRelayState , new Integer ( currentStatus ) ) ; return tmpRelayState ; }
target:  Store incoming prameters to internal Map