public interface AuthenticationHeaderProvider
Modifier and Type | Method and Description |
---|---|
AuthenticationHeader |
getAppToAppSSOHeader(String requestURL)
Generates authentication header for SSO with other applications on the same landscape.
|
List<AuthenticationHeader> |
getOAuth2SAMLBearerAssertionHeaders(DestinationConfiguration destinationConfiguration)
Generates authentication headers for OAuth2SAMLBearerAssertion destination.
OAuth access token will be generated for destinations with authentication type OAuth2SAMLBearerAssertion in order OAuth-protected resources to be consumed. |
AuthenticationHeader |
getPrincipalPropagationHeader()
Generates header for principal propagation to on-premise systems.
|
AuthenticationHeader |
getSAPAssertionHeader(DestinationConfiguration destinationConfiguration)
Generates authentication header for SAPAssertionSSO destination.
SAP assertion ticket will be generated for destinations with authentication type SAPAssertionSSO in order to propagate the currently logged on user to a SAP back-end system. |
AuthenticationHeader getAppToAppSSOHeader(String requestURL)
requestURL
- the URL for which the generated headers will be used.AuthenticationHeader getPrincipalPropagationHeader()
AuthenticationHeader getSAPAssertionHeader(DestinationConfiguration destinationConfiguration)
destinationConfiguration
- the SAPAssertionSSO destination for which an authentication header will be generated.IllegalArgumentException
- when configuration properties are not well configured or authentication type is not SAPAssertionSSO.List<AuthenticationHeader> getOAuth2SAMLBearerAssertionHeaders(DestinationConfiguration destinationConfiguration)
destinationConfiguration
- the OAuth2SAMLBearerAssertion destination for which authentication headers will be generated.IllegalArgumentException
- when configuration properties are not well configured or authentication type is not
OAuth2SAMLBearerAssertion.Copyright © 2015 SAP. All Rights Reserved.