Configuration du client pour l'authentification à l'aide d'un jeton LTPA : Spécification des informations d'authentification à l'aide du jeton LTPA
Pour configurer l'authentification utilisant un jeton LTPA (Lightweight Third-Party Authentication), définissez l'authentification par jeton LTPA. Vous devez configurer le client pour ce type d'authentification uniquement si le mécanisme d'authentification configuré dans WebSphere Application Server est LTPA.
Pourquoi et quand exécuter cette tâche
Cette tâche permet de configurer l'authentification utilisant un jeton LTPA (Lightweight Third-Party Authentication). Vous devez configurer le client pour ce type d'authentification uniquement si le mécanisme d'authentification configuré dans WebSphere Application Server est LTPA. Quand un client s'authentifie auprès d'un système WebSphere Application Server, les justificatifs créés contiennent un jeton LTPA. Lorsqu'un service web appelle un service Web en aval, vous pouvez configurer le premier service web pour qu'il envoie le jeton LTPA du client initial. Ne tentez pas de configurer LTPA à partir d'un client pur. LTPA fonctionne uniquement lorsque vous configurez la partie client d'un service web assurant la fonction de client auprès d'un service web en aval. Pour permettre au service web en aval de valider le jeton LTPA, les clés LTPA des deux serveurs doivent être identiques.
Pour définir la méthode d'authentification par jeton LTPA, procédez comme suit :
Procédure
- Lancez un outil d'assemblage. Pour plus d'informations, consultez les informations relatives aux outils d'assemblage.
- Passez à la perspective Java™ EE (Java Platform, Enterprise Edition). Cliquez sur .
- Cliquez sur .
- A l'aide du bouton droit de la souris, cliquez sur le fichier application-client.xml et sélectionnez .
- Click the Extensions tab, which is located at the end of the deployment descriptor editor within the assembly tool.
- Développez la section .
- Sélectionnez la méthode d'authentification LTPA. Pour plus d'informations sur les concepts liés à l'authentification LTPA, voir LTPA (Lightweight Third Party Authentication).