Multiple reply URLS

Background

I have a Single STS server to manage my authentication but I have several websites all of these use the same source files, and web config file.

Each website uses the variation in the URL (PDMNA, CPDEU, FIND) to establish what database it needs to connect to. So it is essential that the reply URL is correct.

This is where the issue starts, I can handle the AudienceUrls as shown below but the realm and reply I can only have one. Which means I always get sent back to PDMNA regardless of the original URL.

So the questions are as follows.

  1. Can I have multiple realm and reply URLS?
  2. Can I have a separate web.config file for each URL but maintain the single set of webfiles?
  3. Is there another options?

Answers


An application normally has a single realm; you can dynamically change the reply adders by subscribing to the appropriate event of the subobjects of the static FederatedAuthentication class. Finally, you can use web config transforms to specify a configuration per deployed application instance.


Need Your Help

How to accept Drag and Drop from QListWidget in custom QTextEdit

qt drag-and-drop

In my own TextEdit (inherits QTextEdit) I implement this DragEventHandler:

Deleting duplicate elements in an ArrayList Java

java generics arraylist duplicates

Hi and thanks for reading! I'm currently studying Generics in Java and this is what I'm trying to accomplish: