Orbeon/Tomcatの初心者はこちら-明らかな何かが欠けていることを願っています...
私はOrbeon4M11を使用しており、ここで説明されているように、バンドルされたorbeon-authを認証サービスとして試してみたいと思います:http ://wiki.orbeon.com/forms/doc/developer-guide/page-flow-controller /authorization。
最初はorbeon-authを機能させるのに問題がありましたが、今ではアクセスhttp://localhost:8080/orbeon-auth
すると認証のプロンプトが表示され、正しいクレデンシャルを入力するとhttp200が返されるようになりました。次に、orbeon-authを使用するようにページを構成する必要があります。上記のリンクの指示に従って、このプロパティを設定する必要があります。
<property as="xs:anyURI" processor-name="oxf:page-flow" name="authorizer" value="/orbeon-auth"/>
しかし、コードをどこに置くべきかわかりませんでした。タグ内のpage-flow.xmlに含まれる可能性があると思いましたが<controller>
、そこに配置してページにアクセスしようとすると、「OrbeonForms-エラーが発生しました」というエラーページが表示されます。また、properties-local.xmlに入れてみましたが、何もしませんでした。誰かが私を正しい方向に向けることができることを願っています...
これが私のプロパティ全体です-local.xml:
<!--
This file is an empty template for your own properties-local.xml file. Please follow the instructions here:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties
-->
<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oxf="http://www.orbeon.com/oxf/processors">
<!-- This is an example of property which overrides an existing property's default value:
<property as="xs:NMTOKENS"
name="oxf.xforms.logging.debug"
value="document model submission submission-details control event action analysis server html"/>
-->
<property as="xs:string" name="oxf.fr.persistence.provider.Test.*.*" value="oracle"/>
<property as="xs:string" name="oxf.fr.persistence.provider.FieldReports.*.*" value="oracle"/>
<property as="xs:string" name="oxf.fr.persistence.service.oracle.datasource" value="oracle"/>
<property as="xs:boolean" name="oxf.fr.persistence.oracle.create-flat-view" value="true"/>
<property as="xs:string" name="oxf.fr.summary.buttons.*.*" value="new print delete"/>
<property as="xs:string" name="oxf.fr.detail.buttons.*.*" value="close clear print save save-locally submit workflow-review workflow-send"/>
<property as="xs:boolean" name="oxf.fr.detail.edit.accept-post.*.*" value="true"/>
<property as="xs:anyURI" name="oxf.fr.default-logo.uri.*.*"
value="/usr/local/tomcat/webapps/orbeon4pe/WEB-INF/resources/wb-logo.png"/>
<property
as="xs:anyURI"
processor-name="oxf:page-flow"
name="authorizer"
value="/orbeon-auth"/>
</properties>
私は/WEB-INF/resources/page-flow.xml
orbeon-auth/WEB_INF/web.xml
ファイルを変更していません-それらは箱から出てきたままです。