子ページ
  • JPA StorageServiceからJDBC StorageServiceへのマイグレーション

比較バージョン

キー

  • この行は追加されました。
  • この行は削除されました。
  • 書式設定が変更されました。

...

2. JDBC StorageServiceプラグインのインストール

  • Shibboleth IdP 4.2以上の場合2およびそれ以降の場合

    展開

    JDBC StorageServiceプラグインをインストールします。

    書式設定済み
    # /opt/shibboleth-idp/bin/plugin.sh -I net.shibboleth.plugin.storage.jdbc
    INFO  - Including auto-located properties in bin/../conf/admin/admin.properties
    INFO  - Including auto-located properties in bin/../conf/authn/authn.properties
    INFO  - Including auto-located properties in bin/../conf/c14n/subject-c14n.properties
    INFO  - Including auto-located properties in bin/../conf/ldap.properties
    INFO  - Including auto-located properties in bin/../conf/services.properties
    INFO  - Including auto-located properties in bin/../conf/saml-nameid.properties
    Downloading from HTTPResource [http://shibboleth.net/downloads/identity-provider/plugins/jdbc/x.y.z/java-plugin-jdbc-storage-x.y.z.tar.gz]
    Downloading from HTTPResource [http://shibboleth.net/downloads/identity-provider/plugins/jdbc/x.y.z/java-plugin-jdbc-storage-x.y.z.tar.gz.asc]
    Plugin net.shibboleth.plugin.storage.jdbc: Trust store folder does not exist, creating
    Plugin net.shibboleth.plugin.storage.jdbc: Trust store does not exist, creating
    TrustStore does not contain signature 0x1483F262A4B3FF0
    Accept this key:
    Signature:      0x1483F262A4B3FF0
    FingerPrint:    4AF4D83EEDDF43DA3C06CB3101483F262A4B3FF0
    Username:       Rod Widdowson <rdw@steadingsoftware.com>
     [yN] y
    Installing Plugin net.shibboleth.plugin.storage.jdbc version x.y.z
    Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.2.1
    Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
    Overlay from /opt/shibboleth-idp/dist/plugin-webapp to /opt/shibboleth-idp/webpapp.tmp
    Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
    Creating war file /opt/shibboleth-idp/war/idp.war
    
    # /opt/shibboleth-idp/bin/plugin.sh -l
    INFO  - Including auto-located properties in bin/../conf/admin/admin.properties
    INFO  - Including auto-located properties in bin/../conf/authn/authn.properties
    INFO  - Including auto-located properties in bin/../conf/c14n/subject-c14n.properties
    INFO  - Including auto-located properties in bin/../conf/ldap.properties
    INFO  - Including auto-located properties in bin/../conf/services.properties
    INFO  - Including auto-located properties in bin/../conf/saml-nameid.properties
    Plugin: net.shibboleth.plugin.storage.jdbc      Current Version: x.y.z
  • Shibboleth IdP 4.1の場合

    展開

    最初に、JDBC StorageServiceプラグインの最新バージョンのURLを確認します。

    1. https://shibboleth.atlassian.net/wiki/spaces/IDPPLUGINS/pages/2989096970/JDBCStorageServiceにアクセスして、Plugin Installationにあるdownloadをクリックします。
    2. 最新のバージョンのディレクトリ x.y.zにアクセスします。(2022年11月末現在 1.0.4)
    3. java-plugin-jdbc-storage-x.y.z.tar.gzのURLを確認します。

    確認したURLを引数としてJDBC StorageServiceプラグインをインストールします。

    書式設定済み
    # /opt/shibboleth-idp/bin/plugin.sh -i http://shibboleth.net/downloads/identity-provider/plugins/jdbc/x.y.z/java-plugin-jdbc-storage-x.y.z.tar.gz
    INFO  - Including auto-located properties in bin/../conf/admin/admin.properties
    INFO  - Including auto-located properties in bin/../conf/authn/authn.properties
    INFO  - Including auto-located properties in bin/../conf/c14n/subject-c14n.properties
    INFO  - Including auto-located properties in bin/../conf/ldap.properties
    INFO  - Including auto-located properties in bin/../conf/services.properties
    INFO  - Including auto-located properties in bin/../conf/saml-nameid.properties
    Downloading from HTTPResource [http://shibboleth.net/downloads/identity-provider/plugins/jdbc/x.y.z/java-plugin-jdbc-storage-x.y.z.tar.gz]
    Downloading from HTTPResource [http://shibboleth.net/downloads/identity-provider/plugins/jdbc/x.y.z/java-plugin-jdbc-storage-x.y.z.tar.gz.asc]
    Plugin net.shibboleth.plugin.storage.jdbc: Trust store folder does not exist, creating
    Plugin net.shibboleth.plugin.storage.jdbc: Trust store does not exist, creating
    TrustStore does not contain signature 0x1483F262A4B3FF0
    Accept this key:
    Signature:      0x1483F262A4B3FF0
    FingerPrint:    4AF4D83EEDDF43DA3C06CB3101483F262A4B3FF0
    Username:       Rod Widdowson <rdw@steadingsoftware.com>
     [yN] y
    Installing Plugin net.shibboleth.plugin.storage.jdbc version x.y.z
    Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.2.1
    Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
    Overlay from /opt/shibboleth-idp/dist/plugin-webapp to /opt/shibboleth-idp/webpapp.tmp
    Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
    Creating war file /opt/shibboleth-idp/war/idp.war
    
    # /opt/shibboleth-idp/bin/plugin.sh -l
    INFO  - Including auto-located properties in bin/../conf/admin/admin.properties
    INFO  - Including auto-located properties in bin/../conf/authn/authn.properties
    INFO  - Including auto-located properties in bin/../conf/c14n/subject-c14n.properties
    INFO  - Including auto-located properties in bin/../conf/ldap.properties
    INFO  - Including auto-located properties in bin/../conf/services.properties
    INFO  - Including auto-located properties in bin/../conf/saml-nameid.properties
    Plugin: net.shibboleth.plugin.storage.jdbc      Current Version: x.y.z

...