Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2535

[GSS](6.3.z) Support for custom HTTP headers in Decision Server java client configuration

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Critical Critical
    • 6.3.3
    • 6.3.0.GA
    • Kie-Server
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • CR1

      Currently the Decision Server client only allows a username and password to be specified and works solely with HTTP Basic authentication. For custom authentication we will have access to a session cookie and need to pass that along in every HTTP request to Decision Server. The minimal functionality required would be the ability to set a header/cookie value on each http request, although perhaps just an extensible way of modifying the http requests would enable future authentication/authorization extensions.

      It is known that the KieServicesConfiguration object supports a ConnectionProvider object:

      configuration.setCredentialsProvider(new org.kie.server.client.CredentialsProvider() {
      			
      			@Override
      			public String getHeaderName() {
      				// TODO Auto-generated method stub
      				return null;
      			}
      			
      			@Override
      			public String getAuthorization() {
      				// TODO Auto-generated method stub
      				return null;
      			}
      		});
      

      However, the requirement is to set multiple custom HTTP header and have the possibility to change for every request made by the client.

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-wsiqueir William Siqueira
            Archiver:
            rhn-support-ceverson Clark Everson
            Tomáš Livora Tomáš Livora (Inactive)
            Tomáš Livora Tomáš Livora (Inactive)

              Created:
              Updated:
              Resolved:
              Archived: