0 Replies Latest reply on Nov 15, 2012 3:35 AM by Mikhail Samadzelkin

    How to configure HTTP Destinations in JBoss

    Mikhail Samadzelkin Newbie

      Hi All,

       

      Is there any possibility in JBoss EAP 6 to configure HTTP Destinations? Like it's possible in other applications servers for example SAP Netweaver. https://help.sap.com/saphelp_nwmobile71/helpdata/en/c4/4bf969fb2a48908224679e83e9d805/content.htm

      In other words, I need to access from my web application1 another resource on application2 via HTTP(s) wich is protected by User/Password authentication

      And i'm trying to understand is it possible to configure such destination via JBoss, or i definitely should implement this mechanism by myself.

       

      How its implemented on another servers:

      1) Set Destination name

      2) Set URL which is point to another resource http://external.appl.com/anyresource

      3) Set authentication type e.g. Basic(User/Password in headers)

      4) Set User which will be used for authentication on external system

      5) Set connection timeout

       

      after that it's possible in Java code to get destination from destination manager by its name. And not operate in code with clear text user id and clear text password.

       

      If there is no such API in JBoss could you please point me to most convinient way how to configure such things in JBoss.

       

      Thank you for any response.

      Mikhail