3.2. Kerberos での管理インターフェイスのセキュア化
JBoss EAP はセキュリティードメインで Kerberos 認証を提供する他に、Kerberos を使用して管理インターフェイスをセキュアにする機能も提供します。
3.2.1. Elytron を使用した Kerberos での管理インターフェイスのセキュア化 リンクのコピーリンクがクリップボードにコピーされました!
HTTP 管理インターフェイスに Kerberos 認証を設定するには、以下を行います。
アプリケーションに Kerberos 認証を設定する手順 にしたがって、Kerberos 認証を行う
http-authentication-factoryを作成します。重要管理インターフェイスに Kerberos 認証を設定するとき、JBoss EAP が KDC に対して認証行うために設定したサービスプリンシパルに注意することが大変重要になります。このサービスプリンシパルは
service-name/hostnameの形式を取ります。JBoss EAP は、web ベースの管理コンソールに対して認証を行うときはHTTP/localhostのようにHTTPがサービス名になることを想定し、管理 CLI の場合はremote/localhostのようにremoteがサービス名になること想定します。http-authentication-factoryを使用するよう、管理 HTTP インターフェイスを更新します。/core-service=management/management-interface=http-interface:write-attribute(name=http-authentication-factory, value=example-krb-http-auth)
/core-service=management/management-interface=http-interface:write-attribute(name=http-authentication-factory, value=example-krb-http-auth)Copy to Clipboard Copied! Toggle word wrap Toggle overflow
管理 CLI で SASL 認証に対する Kerberos 認証を設定するには、以下を行います。
-
アプリケーションに Kerberos 認証を設定する手順 にしたがって、セキュリティードメインおよび
kerberos-security-factoryを作成します。 GSSAPIをconfigurable-sasl-server-factoryに追加します。/subsystem=elytron/configurable-sasl-server-factory=configured:list-add(name=filters, value={pattern-filter=GSSAPI})/subsystem=elytron/configurable-sasl-server-factory=configured:list-add(name=filters, value={pattern-filter=GSSAPI})Copy to Clipboard Copied! Toggle word wrap Toggle overflow セキュリティードメインおよび
kerberos-security-factoryを使用するsasl-authentication-factoryを作成します。例:
sasl-authentication-factory/subsystem=elytron/sasl-authentication-factory=example-sasl-auth:add(sasl-server-factory=configured, security-domain=exampleFsSD, mechanism-configurations=[{mechanism-name=GSSAPI, mechanism-realm-configurations=[{realm-name=exampleFsSD}], credential-security-factory=krbSF}])/subsystem=elytron/sasl-authentication-factory=example-sasl-auth:add(sasl-server-factory=configured, security-domain=exampleFsSD, mechanism-configurations=[{mechanism-name=GSSAPI, mechanism-realm-configurations=[{realm-name=exampleFsSD}], credential-security-factory=krbSF}])Copy to Clipboard Copied! Toggle word wrap Toggle overflow sasl-authentication-factoryを使用するよう、管理 SASL インターフェイスを更新します。例:
sasl-authentication-factoryの更新/core-service=management/management-interface=http-interface:write-attribute(name=http-upgrade.sasl-authentication-factory, value=example-sasl-auth) reload
/core-service=management/management-interface=http-interface:write-attribute(name=http-upgrade.sasl-authentication-factory, value=example-sasl-auth) reloadCopy to Clipboard Copied! Toggle word wrap Toggle overflow