実際、WSO2 Identity Server(WSO2ISログインページにリダイレクト)を使用してSimpleSAMLで認証するCakePHPアプリケーションがあります。自分のアプリケーションにページを作成し、その情報をWSO2ISに送信してユーザーを認証する必要があります。どうしたらいいですか?私はそれについてのサンプル/ドキュメントを見つけられませんでした。 私はこれに続いてtutorialです。 simplesamlでWOS2 Identity ServerとPHP認証の統合
ファイル: のconfig/authsources.php
<?php
$config = array(
'wso2-sp' => array(
'saml:SP',
'entityID' => 'IntranetSP', // I supposed that it is the ID of my Service Provider
'idp' => 'https://soa.rw1.local:9443/samlsso'
)
);
?>
メタデータ/ saml20-IDP-remote.php私WSO2で
<?php
$metadata['https://soa.rw1.local:9443/samlsso'] = array(
'name' => array(
'en' => 'WSO2 IS',
'no' => 'WSO2 IS',
),
'description' => 'Login with WSO2 IS SAML2 IdP.',
'SingleSignOnService' => 'https://soa.rw1.local:9443/samlsso',
'SingleLogoutService' => 'https://soa.rw1.local:9443/samlsso',
'certFingerprint' => '6bf8e136eb36d4a56ea05c7ae4b9a45b63bf975d'
);
?>
は次のとおりです。
Service provider Configuration:
Service Provider Name: IntranetSP
Local & Outbound Authentication Configuration/Request Path Authentication Configuration: basic-auth
シンプルなサンプルphp [1]を使用して、セットアップのために[1]を実行することができます。https://docs.wso2.com/display/IS500/SAML2+IdP+with+SimpleSAMLphp+Service+Provider –
あなたが他のカスタム認証者を参照することができるように同じ作業を行う認証者[1] https://docs.wso2.com/display/ISCONNECTORS/Identity+Server+Authenticators+and+Connectors –
@IsuraDilharaKarunaratneはい、私はこの例を使用しました私の問題は、PHPログインページを作成して(簡単です)、WSO2に認証情報を送る必要があるということです。実際、ログインページはWSO2にありますので、PHPアプリケーションがユーザーを完全な認証を行うWSO2ログインページ。 –