O365 테스트 사이트에서 사용하고있는 일부 작동 코드가 있습니다. 완벽하게 작동합니다. 필자는 SharePoint 클라이언트 개체 모델을 사용하여 데이터를 인증하고 끌어낼 수 있습니다.SAML 토큰 형식입니까?
BPOS에서 마이그레이션 된 다른 사이트에서 클레임 기반 인증이 실패합니다. 특히, 작업 사이트의 SAML 토큰의 구조는 다음과 같다 :
작동하지 않는 사이트에<wst:RequestedSecurityToken>
<wsse:BinarySecurityToken Id="Compact0">bunch of token stuff here</wsse:BinarySecurityToken>
</wst:RequestedSecurityToken>
,이 부분은 다음과 같습니다
<wst:RequestedSecurityToken>
<EncryptedData xmlns="http://www.w3.org/2001/04/xmlenc#" Id="Assertion0" Type="http://www.w3.org/2001/04/xmlenc#Element">
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod>
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<EncryptedKey>
<EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"></EncryptionMethod>
<ds:KeyInfo>
<ds:X509Data>
<ds:X509SKI>stuff in here</ds:X509SKI>
</ds:X509Data>
<ds:KeyName>microsoftonline.com</ds:KeyName>
</ds:KeyInfo>
<CipherData>
<CipherValue>lots of stuff in here</CipherValue>
</CipherData>
</EncryptedKey>
</ds:KeyInfo>
<CipherData>
<CipherValue>Loads more stuff in here</CipherValue>
</CipherData>
</EncryptedData>
</wst:RequestedSecurityToken>
이 정말 다르다! 주변 지역은 내가 할 수있는 한 거의 비슷하게 보입니다.
이게 무슨 뜻입니까? 인증에 실패 했습니까? 내가 사용하는 클레임 인증 코드는 'BinarySecurityToken'에 종속되므로 이것이 실패하지 않는 이유입니다.
내가 조정할 필요가있는 셰어 포인트 설정이 있습니까? MS 고객 지원부에 문의하십시오. 누군가?
혹시 이것을 알아 냈습니까? 이것에 관해 무엇인가 찾는 데 어려움이 있습니다. – TroyC