public class DefaultSubdomainReplacer extends Object implements SubdomainReplacer
Constructor and Description |
---|
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 public URI replaceSubdomain(@Nonnull String issuerUrl, @Nonnull URI xsuaaUrl)
replaceSubdomain
in interface SubdomainReplacer
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 © 2019 SAP SE. All rights reserved.