test-my-signature/src/main/java/se/idsec/signservice/integration/app/config/JavaApiSignServiceIntegrationConfiguration.java
@Bean
  @ConfigurationProperties(prefix = "signservice.config")
  public IntegrationServiceConfiguration integrationServiceConfiguration(
      @Qualifier("signIntegrationBaseUrl") final String signIntegrationBaseUrl) {
    DefaultIntegrationServiceConfiguration config = new DefaultIntegrationServiceConfiguration();
    config.setDefaultReturnUrl(signIntegrationBaseUrl + "/sign/response");
    config.setDefaultEncryptionParameters(new OpenSAMLEncryptionParameters());
    config.setSigningCredential(new OpenSAMLSigningCredential(this.signIntegrationCredential().getCredential()));
    return config;
  }
/**
   * Gets the bean for the service configuration.
   * 
   * @return IntegrationServiceConfiguration bean
   */
Gets the bean for the service configuration.


Gets the bean for the service configuration .
@Bean
  @ConfigurationProperties(prefix = "signservice.config")
  public IntegrationServiceConfiguration integrationServiceConfiguration(
      @Qualifier("signIntegrationBaseUrl") final String signIntegrationBaseUrl) {
    DefaultIntegrationServiceConfiguration config = new DefaultIntegrationServiceConfiguration();
    config.setDefaultReturnUrl(signIntegrationBaseUrl + "/sign/response");
    config.setDefaultEncryptionParameters(new OpenSAMLEncryptionParameters());
    config.setSigningCredential(new OpenSAMLSigningCredential(this.signIntegrationCredential().getCredential()));
    return config;
  }
@ Bean @ ConfigurationProperties ( prefix = "signservice.config" ) public IntegrationServiceConfiguration integrationServiceConfiguration ( @ Qualifier ( "signIntegrationBaseUrl" ) final String signIntegrationBaseUrl ) { DefaultIntegrationServiceConfiguration config = new DefaultIntegrationServiceConfiguration ( ) ; config . setDefaultReturnUrl ( signIntegrationBaseUrl + "/sign/response" ) ; config . setDefaultEncryptionParameters ( new OpenSAMLEncryptionParameters ( ) ) ; config . setSigningCredential ( new OpenSAMLSigningCredential ( this . signIntegrationCredential ( ) . getCredential ( ) ) ) ; return config ; }
Gets the bean for the service configuration.
Gets the bean for the service configuration .