Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. On the Main tab, click Identity > Identity Providers > Resident

    The Resident Identity Provider page appears.

  2. Enter the required values as given below.

    FieldDescriptionSample Value
    Home Realm IdentifierThis is the domain name of the identity provider. If you do not enter a value here, when an authentication request comes to WSO2 Identity Server, a user will be prompted to specify a domain. You can enter multiple identifiers as a comma-separated list.localhost
    Idle Session Time OutThis is the duration in minutes for which an SSO session can be idle for. If WSO2 Identity Server does not receive any SSO authentication requests for the given duration, a session time out occurs. The default value is 15.15
    Remember Me Period

    This is the duration in weeks for which WSO2 Identity Server should remember an SSO session given that the Remember Me option is selected in the WSO2 Identity Server login screen.

    The default value is 2 weeks.

    2
  3. Under the Inbound Authentication Configuration section, click Security Token Service Configuration > Apply Security Policy.
  4. Select Yes in the Enable Security? drop down and  select a pre-configured security scenario according to your requirements. For this tutorial, use  UsernameToken  under   the  Basic Scenarios  section. 

    Note

    You can find further details about security policy scenarios from the view scenario option.

  5. Click Next. The user domain and user group selection appears.

    Info

    Next steps may vary as per the security scenario that you have chosen under point (5) above. Below is for UsernameToken scenario.

  6. Provide the required details as follows:
    1. Select ALL-USER-STORE-DOMAINS.
    2. Select the role you created to grant permission to access secured service. In this example, the admin role is used. Next, click Finish.

      Note

      The Select Domain drop-down lists many domains. The listed User Groups can vary depending on the domain selected.


  7. Click Finish.
  8. Click Ok on the confirmation dialog window that appears.
  9. Click Update to complete the process.

...

  1. Under the Inbound Authenticatino Configuration section, click WS-Trust Security Token Service Configuration > Configure. The STS Configuration page appears.
  2. Enter the required details as given below. 

    FieldDescriptionSample Value
    Endpoint Address


    Enter the trusted relying party's endpoint address, which is the endpoint address of the Security Token Service. For more information, see Broker Trust Relationship with WSO2 Identity Server

    The endpoint must be used as the service URL to which the token gets delivered by the STS client. Then select the public certificate imported. Tokens issued are encrypted using the public certificate of the trusted relying party. Therefore, the consumer who obtains this token, to invoke the RP service, will not be able to see the token. 

    Note

    Make sure to upload the certificate of the relying party to the truststore. For instructions, see Adding CA-signed ceritificates to keystores.



    https://localhost:9444/services/echo
    Certificate AliasThis is the alias of the certificate.wso2carbon

  3. Click Update to save the changes made to the service provider.

    Panel
    titleRelated Topics

    Run the STS client after configuring the service provider. For instructions on trying out a sample STS client, see Running an STS Client.

...