public class DefaultSubdomainReplacer extends Object implements SubdomainReplacer
Constructor and Description |
---|
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 public URI replaceSubdomain(@Nonnull URI xsuaaUri, @Nonnull String subdomain)
replaceSubdomain
in interface SubdomainReplacer
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.