Skip to content

Commit

Permalink
revert deprecation of ServiceBindingMapper
Browse files Browse the repository at this point in the history
Signed-off-by: liga-oz <liga.ozolina@sap.com>
  • Loading branch information
liga-oz committed Jan 16, 2024
1 parent da8438a commit ba7c424
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@
import static com.sap.cloud.security.config.cf.CFConstants.IAS.DOMAINS;
import static com.sap.cloud.security.config.cf.CFConstants.SERVICE_PLAN;

@Deprecated
public class ServiceBindingMapper {
private static final Logger LOGGER = LoggerFactory.getLogger(ServiceBindingMapper.class);

@Deprecated
/**
* Parses a service binding by extracting the configuration information and
* passing it to a configuration builder.
*
* @return a new {@link OAuth2ServiceConfigurationBuilder} that is configured
* based on the given {@link ServiceBinding}.
*/
@Nullable
public static OAuth2ServiceConfigurationBuilder mapToOAuth2ServiceConfigurationBuilder(ServiceBinding b) {
if (!b.getServiceName().isPresent()) {
Expand Down

0 comments on commit ba7c424

Please sign in to comment.