public interface SubdomainReplacer
XsuaaService
to control how differing tenant
specific subdomains of issuer URLs from JWTs and XSUAA URLs should be handled.
By default, the SDK uses the DefaultSubdomainReplacer
.Modifier and Type | Method and Description |
---|---|
URI |
replaceSubdomain(String issuerUrl,
URI xsuaaUrl)
This function takes the issuer URL from the user's JWT and the XSUAA URL and returns a new XSUAA URL.
|
@Nonnull URI replaceSubdomain(@Nonnull String issuerUrl, @Nonnull URI xsuaaUrl)
issuerUrl
- The URL of the service that issued the user's JWT.xsuaaUrl
- The URL of XSUAA instance that should be used to retrieve access tokens.Copyright © 2018 SAP SE. All rights reserved.