2016-06-22 7 views
1

두 봉지를 문자열로 연결하는 방법에 대해 각각 하나의 데이터 요소가 포함되어 있습니다. stringConcatenate 함수는 문자열 데이터 유형 만 허용하고 PIP 모듈에서 반환하는 데이터 값은 백 유형입니다. ALFA에서 사용할 수있는 문자열 변환이 있습니까? 버전 3 사양 검사하기 가방의 첫 번째 요소를 문자열로 변환 한 것과 같은 역함수를 찾지 못했습니다. XACML 버전 3 및 ALFA에서이 데이터 유형 조정을 실행하고 두 개의 데이터 값을 연결하는 솔루션이 있습니까?XACML ALFA - 가방의 한 요소를 문자열로 읽고 연결하는 방법

예 : 다음 문은 ALFA에서 검증 된

obligations = "Invited to Work Request Policy - The user :{" 
     notificationRecipient = stringConcatenate(subjectAttributes.redSerialNumber,subjectAttributes.employeeCountryCode) 
     debugMsg2 = "}, was invited to XYZ." 

답변

1

:

obligation displayAttributes { 
    obligations = "Invited to Work Request Policy - The user :{" 
    notificationRecipient = stringConcatenate(stringOneAndOnly(subjectAttributes.redSerialNumber),stringOneAndOnly(subjectAttributes.employeeCountryCode)) 
    debugMsg2 = "}, was invited to XYZ." 
}