...
コード ブロック |
---|
resources.tiqr.identifier = "vm2.peofiamptiqr.nii.ac.jp" ↑replace as your server FQDN resources.tiqr.name = "vm2" ↑Tiqrサーバの名称(アプリ上に表示される)を記入。↑server name of Tiqr (it will be appeared in the application) resources.tiqr.logoUrl = "https://vm2.peofiamptiqr.nii.ac.jp/icons/gakunin-logo.png" ↑アプリに表示するロゴを指定。5KBくらいのpngファイル。100KBくらいだとアプリへのロードに時間が掛る。↑logo file appeared in the application. 5KB is better. Over 100KB file takes long time to load it. constants.TIQRSHIB_DOMAIN = "nii.ac.jp" ↑IdPが送るeppnのセキュリティドメイン ↓以下のLDAP設定には、attribute↑eppn security domain of the IdP ↓Following LDAP configuration is same with attribute-resolver.xmlと同じものを設定。xml constants.TIQRSHIB_LDAP_HOST = "localhost" constants.TIQRSHIB_LDAP_PORT = "389" constants.TIQRSHIB_LDAP_BASEDN = "o=test_o,dc=ac,c=JP" constants.TIQRSHIB_LDAP_BINDREQUIRESDN = "true" constants.TIQRSHIB_LDAP_USERNAME = "cn=Manager,o=test_o,dc=ac,c=JP" constants.TIQRSHIB_LDAP_PASSWORD = "password" |
(*) LDAPの検索では、 "uid" filter is utilized for LDAP search
If you would like to use the different filter, please modify the following 'uid"s to your preference.
In をフィルタとして検索しています。
uidと異なる属性名を利用している場合は、 /var/tiqrzenddemo/library/libTiqrShib/tiqrShibLdap.phpのphp
In the line of $result = $ldap->search('(uid='.$userId.')');
の行(2か所)にて、"uid"を修正して下さい。 there are two parts to be modified.