比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。
コメント: 3.4.0対応

...

パネル
borderColor#cccccc
bgColor#eeeeee
borderStylesolid

    <!-- Use this file to define any custom beans needed globally. -->
   
<!-- A DataSource bean suitable for use in the idp.persistentId.dataSource property. -->
    <bean id="MyDataSource"

          class="org.apache.commons.dbcpdbcp2.BasicDataSource"
          p:driverClassName="com.mysql.jdbc.Driver"
          p:url="jdbc:mysql://localhost:3306/shibboleth"
          p:username="データベースユーザー名"
          p:password="データベースパスワード"
          p:maxActivemaxTotal="10"
          p:maxIdle="5"
          p:maxWaitmaxWaitMillis="15000"
          p:testOnBorrow="true"
          p:validationQuery="select 1"
          p:validationQueryTimeout="5" />

    <!--
    Algorithm whitelists and blacklists that override or merge with library defaults. Normally you can leave
    these empty or commented and use the system defaults, but you can override those defaults using these lists.
    Each <value> element is an algorithm URI, or you can use <util:constant> elements in place of literal values.
    -->

情報

上記はCentOS 7(apache-commons-dbcpパッケージ)での設定例です。Tomcat 8以降をお使いの場合はclass属性を以下のようにしてください。

パネル

      class="org.apache.tomcat.dbcp.dbcp2.BasicDataSource"

また、p:maxActivep:maxTotal に、p:maxWaitp:maxWaitMillis に変更してください。


...

5. /opt/shibboleth-idp/conf/saml-nameid.properties を修正する

...