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

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

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 6.4.0
    • 6.3.0.GA
    • Kie-Server
    • None
    • Release Notes
    • ER2

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-wsiqueir William Siqueira
              Archiver:
              rhn-support-ceverson Clark Everson
              Karel Suta Karel Suta
              Karel Suta Karel Suta

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty