【发布时间】:2016-11-04 05:17:05
【问题描述】:
我在 Okta 中创建了 SAML 2.0 模板,并在我的应用程序配置中复制了元数据 URL。但是我收到 404 错误。我还尝试通过浏览器访问 URL,这确实给了我 404 错误。有人遇到过这个问题吗?我试图在互联网上搜索它并没有看到任何解决方案。想知道是不是设置有问题。令人惊讶的是,在文件中下载元数据并使用基于文件的元数据配置工作正常。猜猜这里会发生什么?
使用 URL 时,我还会看到 xml 解析器异常。
2016-11-02 13:22:48,905 [localhost-startStop-1] ERROR org.opensaml.xml.parse.StaticBasicParserPool - XML Parsing Error
org.xml.sax.SAXParseException; lineNumber: 35; columnNumber: 3; The element type "meta" must be terminated by the matching end-tag "</meta>".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
.
【问题讨论】: