0
由於某些原因,我無法設置EntityDescriptor並返回null。SSO SAML 2.0 - EntityDescriptor返回null
EntityDescriptor metadata = null;
metadata = (EntityDescriptor)context.Cache['https://domain.info/blah'];
這個EntityDescriptor是實例化一個SAML 2.0 Assertion Consumer Factory所需的。任何洞察力將不勝感激。
看起來像'context.Cache ['https://domain.info/blah']'返回null。 –
正確。我正在試圖確定它爲什麼返回null而不返回這個EntiryDescriptor。 – 80sRocker
從你在這裏提供的代碼,沒有辦法找出原因。你需要更具體。包含關於context.Cache ['https://domain.info/blah']'設置的代碼和信息。 –