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(URI xsuaaUri,
String subdomain)
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 URI xsuaaUri, @Nonnull String subdomain)
xsuaaUri
- The URL of XSUAA instance that should be used to retrieve access tokens.subdomain
- The subdomain to use for replacement.Copyright © 2019 SAP SE. All rights reserved.