Using HTTPS in JSC project

If we want to transfer a password from a client machine to the server, we usually use the following Java code in a JSC project:
myPasswordID.getValue()
But is this safe? What can I do to send the password information with encription (that means through HTTPS)?
Please anyone help. Thank you very much.

If we want to transfer a password from a client
machine to the server, we usually use the following
Java code in a JSC project:
myPasswordID.getValue()
But is this safe? What can I do to send the password
information with encription (that means through
HTTPS)?
Please anyone help. Thank you very much.I'm not sure I understand your concern.
Are you wanting to pass things in "mixed mode" where some items are passed through HTTPS and some are going through HTTP, or are you just concerned with having an HTTPS session for everything?
If all you want is to hake sure everything goes through HTTPS, then just obtain a certificate and direct to the HTTPS port.
So, there will not be, nor need to be, a special method like getValueHTTPS since the connection is over HTTPS. That's the key.
If you want only the password to go over HTTPS, then direct to a page that uses HTTPS to pass the data however you want to that connects via HTTPS (like to a servlet for example).
BTW, if you really do want to go in "mixed" mode where some items on a page are through HTTP and some are through HTTPS, it will cause IE to complain unless you specify that mixed mode is OK.

Similar Messages

  • IC Web - manager dashboard hangs using HTTPS for CRM_UI_FRAME

    Experts,
    I am on an ISU-CCS project in realization using IC web front end.  Here are our versions:
    CRM2007
    ECC 6.0 EHP3
    We have the IC web client talking to back-end and most everything is looking good.
    I turned on HTTPS/SSL using all the usual notes....and it seems to work well, we can even SSO over to back-end to execute webgui transactions via IC Web.
    My problem is when I use a certain business profile and test:
    Monitoring Operations --> Manager Dashboard
    As long as I have HTTPS turned on for the CRM_UI_FRAME, if I access above mentioned portion of IC Web, it just sits there and creates a hundred different HTTP logins for my ID.  It blinks quick at the bottom and I see it try to execute the bsp: CRM_IC_MDB.
    Funny how it tries to continue to use HTTP even through I am switching to HTTPS everywhere.
    If I go back to HTTP, (turn off switch to HTTPS), the the manager dashboard works OK.
    Normally, I would think problem with HTTPS/SSL setup, but all other portions of IC WEB work great using HTTPS/SSL.
    I check ICM log and nothing unless I bump trace to level2.  Then too much stuff. But I do see this:
    [Thr 1286] Handler 2: HttpAuthHandler matches url: /sap/bc/bsp/sap/crm_ic_mdb/main.do, port: 8000
    [Thr 1286] Handler 3: HttpCacheHandler matches url: /sap/bc/bsp/sap/crm_ic_mdb/main.do, port: 8000
    [Thr 1286] Handler 4: HttpSAPR3Handler matches url: /sap/bc/bsp/sap/crm_ic_mdb/main.do, port: 8000
    [Thr 1286] Handler 0: HttpJ2EEHandler matches url: /sap/bc/bsp/sap/crm_ic_mdb/main.do, port: 8000
    I can't figure this one out......any ideas?
    Thanks,
    Nick

    We figured out the issue.  There is a transaction launcher setting specific to MDB that has a https flag.

  • How to use settingsfilegenerator in c# project which is part of biztalk solution

    As part of expression shape in the orchestration, I am calling a c# method by providing input parameters.
    MyCompanyName.Integration.MyProjectName.Project.ListsProxy.SubmitFilesToDropOffLibrary
    (XmlInputMessage,
    MyCompanyName.Services.ConfigStore.SSOClientHelper.Read("ProjectName", "InboundTransportLocationAddress"),
    InputMessage.SelectRecord.DOC_IDENTIFIER + "*");
    One of the parameters "MyCompany.Services.ConfigStore.SSOClientHelper.Read("MyProjectName", "InboundTransportLocationAddress")"
    is looking into the settingsfilegenerator and taking in the right values.
    However,it's not picking when used as part of c# project.
    As part of the method in the c# project, I have a string hardcoded with url.
    string x = "http://.....";
    the url need to change for every environment of deployement. So I want to change the hardcoded url to picked up from the
    settingsfilegenerator.
    So in the settingsfilegenerator, I  have added
    <Row>
            <Cell ss:StyleID="s77">
              <DataSubmitFileEndpoint ss:Type="String">GetTaxonomy</DataSubmitFileEndpoint>
            </Cell>
            <Cell ss:StyleID="s78">
              <Data ss:Type="String">http://.......asmxx</Data>
            </Cell>
            <Cell ss:StyleID="s78">
              <Data ss:Type="String">http://........</Data>
            </Cell>
            <Cell ss:StyleID="s78">
              <Data ss:Type="String">http://........</Data>
            </Cell>
            <Cell ss:StyleID="s78">
              <Data ss:Type="String">http://........</Data>
            </Cell>
            <Cell ss:StyleID="s78">
              <Data ss:Type="String">http://........</Data>
            </Cell>
          </Row>
    string x = MyCompanyName.Services.ConfigStore.SSOClientHelper.Read("MyProjectName", "GetTaxonomy");
    But it's not picking up from the settingsfilegenerator. It's working when used as part of orchestration but not when used in the c# project. I have added
    the reference for config store in both. But not working in c# project.Could anyone help please

    It's working when used as part of orchestration but not when used in the c# project. This is very confused. :(
    you could check whether give a reference properly first.

  • Can you set a Cost Rate Table to be used for an entire project

    In earlier versions of project, the default cost rate table (A) is used unless changed by the user for each assignment.  In 2010, is it possible to define which cost rate table to use for the entire project, not at the assignment level? 
    Thanks.

    Hi melduncan,
    Welcome to this Microsoft Project forum:)
    I assume you want project to have a default cost rate, so why not set the cost rate details into A to begin with,  You could then set this as a template from which you initiate all your new projects see FAQ
    Item: 8. New Project Template.   FAQs, companion products and other useful Project information can be seen at this web address: http://project.mvps.org/faqs.htm
    Hope this helps - please let us know how you get on :)
    Mike Glen
    MS Project MVP
    See
    http://tinyurl.com/2xbhc for my free Project Tutorials
    "" wrote in message
    news:[email protected]...
    In earlier versions of project, the default cost rate table (A) is used unless changed by the user for each assignment.  In 2010, is it possible to define which cost rate table to use for the entire project, not at the assignment level? 
    Thanks.

  • Directory structure in a JSC project

    Hi, I apologize if this is covered somewhere but I can't find it. I'm trying to set up a JSC project in a directory struture that is already defined. I can't find a way to tell JSC where the source, lib, and web files are relative to the project directory. Is there a way to change these defaults? JSC is not the only IDE in use for this project and rearranging the file tree strustuce to suit JSC is not an option.
    Again this should be obvious but I've spent a lot of time trying to get the answer and haven't. Thanks for any pointers.

    Hi,
    Could you provide a link to the "Jakarta source structure"? I understand the standard for web apps but normal practice is to keep java source and libraries separate from web content. Web content has a fixed structure imposed by the servlet spec and that's fine, however it doesn't include source code as far as I know. Its also pretty standard practice to copy "Lib" files to Web-Inf/lib as part of the build process. Look at the standard WAR task in Ant to see what I am talking about.
    I'm not asking for an arbitrary structure just an industry standard one. Currently it is difficult to use this tool in our organization since it will have to coexist with others (Jbuilder and Eclipse for the time being).
    Thanks
    Jim

  • Aperture Does Not Import Videos using IMPORT FOLDER AS PROJECTS

    SOLVED - Aperture 3.2.1 does not import videos using "Import Folder as Project"
    After 2 days of trying to figure this out (actually around 2 hours total) I've finally managed to import all my photos & videos last year. 200 Gigs 54,000 files. First few tries resulted with referenced photos only, no videos. I had no luck with Google, even tried moving a couple of .plist as mentioned from this thread: https://discussions.apple.com/message/11188017?messageID=11188017#11188017 - this worked for some but not for me. Some issues were solved by NOT selecting "Raw Only", this will cause Aperture to skip your videos.
    Thank you to these people who took time to share. In return I am posting my micro contribution to the Aperture Community. FILE > SWITCH TO LIBRARY > then create a new library. You should be able to import your photos with videos in folders.
    I hope this gets into Google soon. :-)

    , I see only the file, where these photos are, not the photo names or thumbs inside the file (Aperture import path).
    You mean in the Aperture Import panel the folder, where the jpegs should be, is empty?
    Then you may have excluded jpegs from import in your "Import Settings".
    Check the above settings in the "Import Settings" options in the "Import Window". I.e-make sure the Raw+Jpeg Pairs option is set to "Both", even if you do not import raws.
    After reassembled all the programs to a new hard drive in Mac Pro
    Is this new Harddrive your system volume? And are the jpegs you wat to import located on this drive? Or are the on another external volume? If yes, how is this volume formatted?
    Have you checked the permissions and ownership of the jpegs?

  • How to use HTTPSERVICE in Actionscript project.

    Hello all,
    I am doing an actionscript project, I want to use httpservice to send a data to server . Is any one knows how to use httpservice in actionscript project?
    thanx

    following code may help:
    import mx.rpc.http.HTTPService;
    import mx.rpc.events.FaultEvent;
    import mx.rpc.events.ResultEvent;
    private function callHTTPSERVIDE():void
    var hs:HTTPService = new HTTPService();
    hs.url = 'Server.php';
    hs.addEventListener( ResultEvent.RESULT, resultHandler );
    hs.addEventListener( FaultEvent.FAULT, faultHandler )
    hs.send();
    private function resultHandler( event:ResultEvent ):void
    //handle your result here
    private function faultHandler( event:FaultEvent ):void
    // code for fault handling.

  • How to get list of HTML5 features used by a Edge Project

    Hi All,
    Is there a way for me to know what all features of HTML5 does my Edge project actually use.
    I know there are a lot of sites which tests what all HTML5 features are supported by a browser, but I want to know which all features are being used by a edge project.
    Thannks in advance.

    GenericPerson1958 wrote:
    I created a edge project, it has a couple of animated rectangles and some text, I publish this project.
    I suspect that this project does not use any HTML5 features and should be able to work in down level browsers just fine.
    Is there a easy way to test/verify this?
    As far as I am aware the only html5 element ever 'natively' used (anyone correct me if I overstate) is that the outputted result (.html file) is html5 encoded doctype declaration.
         <!DOCTYPE html>
         <html lang="en">
         ....... and so on
    Having that inplace, armed with a modern browser (modern is the operative word) then the project is html5 enabled. You can can employ any html5 property (examples here http://www.w3schools.com/html/html5_intro.asp) into your Edge project.
    Your statement above is half & half: though you may never utilize a html5 element (like, canvas, video or audio) the doctype of the resulting file is still html5
    <!DOCTYPE html>
    So you may still need to employ a fallback for older browsers. I think other factors are also involved, though, aside from just html5. It's the combination of html5, jquery and CSS3.
    hth
    Darrell

  • I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    Please refer:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
    Regards,
    Ashutosh

  • Is it possible to use HTTP GET navigation links?

    Hi,
    I'm learing JSF technology, I found it very powerful.
    But I'm not able to understand how generate navigation links that use HTTP GET method. Do anyone Help me?
    It seems impossilbe, but I don't want believe that it is true.
    Building a web site using only HTTP POST methods is out of the W3C for Web Site suggestions.
    A "good" serach engine for example dosen't take in cosideration HTTP POST Links.
    I hope that someone tell me how generate using JSF HTTP GET links for navigation.
    Bye

    Balusc, thanks for you help.
    The blog is very good!
    I make help classe (FacesUtils) who you show in blog, but not find the property on request context map, but I use the param variable on faces-config.xml and Request Managed Bean and all work fine.
    thanks.
    I'm wrong where I think the Request Managed Bean is create for each request on all pages, the Request Managed Bean is create only on requeste page reference its.
    Parte of my faces-config where I put the Request Managed Bean:
    <managed-bean>
              <managed-bean-name>uuidParamManager</managed-bean-name>
              <managed-bean-class>
                   br.srv.full.virtual.managers.request.UUIDParamManager
              </managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
                   <managed-property>
                   <property-name>loginManager</property-name>
                   <property-class>
                        br.srv.full.virtual.managers.LoginManager
                   </property-class>
                   <value>#{loginManager}</value>
              </managed-property>
              <managed-property>
                   <property-name>uuid</property-name>
                   <property-class>java.lang.String</property-class>
                   <value>#{param.UUID}</value>
              </managed-property>
         </managed-bean>Where UUIDParamManager is create on request its receive first the LoginManager Instance, and later its receive the UUID param.
    I put the prototype of project on virtual.full.srv.br.
    thanks.

  • Has anyone been able to export to flash using a Blu-ray Project in CS3?

    Has anyone been able to export to flash using a Blu-ray Project in CS3?
    If so what files, settings and OS were you using?
    Whenever I try to export to flash from a Blu-ray project the program always crashes.

    S&amp;G wrote:
    Eric Root's posting  answered my question. He said to downlaod DiskmakerX. It worked like a charm to create a bootable Mavericks Installer Flash Drive.
    tips on use: https://discussions.apple.com/message/18705466

  • Deploying JSC projects in Tomcat

    If we deploy JSC projects in Tomcat we have to access the server.xml and tomcat-install-directory/shared/lib. Many web hosting providers do not allow access to these. This makes JSC project deployment in Tomcat very challenging.
    Are there sny alternative ways to deploy JSC projects without accessing Tomcat locations (server.xml and shared/lib folder) except the webapps folder. For example, can I put the jstl.jar and standard.jar someware inside my JSC project? Can I do some changes in my web.xml instead of modifying server.xml?
    Any advice is very much appreciated.
    Thank you very much.

    You can get around the server.xml changes. You will have to create a context.xml
    look at
    <br>
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    http://tomcat.apache.org/tomcat-5.0-doc/deployer-howto.html#Context%20descriptors
    <br>
    for instance. I believe that context.xml has to go into <webapp>/META-INF directory. But I did not find a reference right now.
    The only question I have, would be if Tomcat would share DataSources from different webapps when they are configured in the context.xml, instead of the global context.
    I hope that helps a bit.
    Thanks,
    -- Marco

  • How to achieve multiple hirearcy structure using RBS feature in Project server 2013

    HI,
    How can we achieve multiple hirearcy structure using RBS feature in Project server 2013?
    The below is the screen shot of hirearcy.
    GM
    DGM
    AGM
    CM
    Officers
    There are different departments and one AM may handle 4 or more department. How to achieve this permission levels so that GM can see all departments officers created project, same with other levels
    Thanks,
    Sunitha

    Hi Sunitha,
    You could populate the RBS lookup table with 2 levels (department and sub department). Then configuring correctly your
    security categories based on the RBS, the resources in the 1st level (departments) will see projects from all theirs sub departments.
    Some more references:
    http://aboutmsproject.com/project-server-securitypart-1/
    http://ntrajkovski.com/2012/06/04/the-rbs-lookup-table-in-ms-project-server-2010/
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Using http live streaming

    Hello.  For a project I am working on, I need to design a secure streaming system for audio files such that they can be streamed but not downloaded (due to copy right issues).  I was looking into http live streaming as a possible solution.  However, I am new to developing web applications and the like and was hoping for some help, maybe links to sample code, how to use http live streaming for my server/in my code, etc.  In particular, I was hopping to make the streaming available to firefox, safari, and apple mobile devices.  I am hoping to develop this using html 5.
    Thanks.

    I have same issue with 64bit Safari 5.1 and 10.6.8.
    Video plays if not protected. If Protected says "Loading" and never plays.
    With 32bit Safari looks the same but...
    There is a login window behind the Safari window. If I find it and login, mp4 plays.
    Is quite annoying. Any fixes?

  • Problems using https protocol to connect to open a web site

    Hi,
    I am trying to connect to a web site from my java programme. When I try connecting using htpp protocol, I am able to open the web page then I am giving the username,password to login into that web site..its working fine.
    But, When I try connecting using https protocol connection, I am not getting the page opened and after some time I am getting below error
    Exception in thread "main" org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: Connection timed out: connect
         at org.apache.xmlrpc.client.XmlRpcCommonsTransport.writeRequest(XmlRpcCommonsTransport.java:244)
         at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
         at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:115)
         at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
         at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
         at com.wipro.bugc.Test1.call(Test1.java:94)
         at com.wipro.bugc.Test1.main(Test1.java:124)
    Caused by: java.net.ConnectException: Connection timed out: connect
    Can anyone please suggest or give sample code to work with https web sites in java.
    I will have to use only https protocol to open any browser as my server only opens the web pages using https protocol
    Thanks in advance

    Hi,
    Thank you for your immediate reply. Please find the below code for your infomationa and please let me know where I am wrong..
    Below is the example we used to connect to "rojects.maemo.org" site and end up with the error I mentioned in the previous topic.
    package com.wipro.bugc;
    import java.net.Authenticator;
    import java.net.URL;
    import java.security.cert.X509Certificate;
    import java.util.HashMap;
    import java.util.Map;
    import javax.net.ssl.HostnameVerifier;
    import javax.net.ssl.HttpsURLConnection;
    import javax.net.ssl.SSLContext;
    import javax.net.ssl.SSLSession;
    import javax.net.ssl.TrustManager;
    import javax.net.ssl.X509TrustManager;
    import org.apache.http.HttpEntity;
    import org.apache.http.HttpHost;
    import org.apache.http.HttpResponse;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.NTCredentials;
    import org.apache.http.auth.UsernamePasswordCredentials;
    import org.apache.http.client.HttpClient;
    import org.apache.http.client.methods.HttpGet;
    import org.apache.http.impl.client.DefaultHttpClient;
    import org.apache.http.protocol.BasicHttpContext;
    import org.apache.http.protocol.HttpContext;
    import org.apache.xmlrpc.client.XmlRpcClient;
    import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
    import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
    public class Test1 {
        private static void install() throws Exception {
            // Create a trust manager that does not validate certificate chains
            TrustManager[] trustAllCerts = new TrustManager[] {
                new X509TrustManager() {
                    public X509Certificate[] getAcceptedIssuers() {
                        return null;
                    public void checkClientTrusted(X509Certificate[] certs, String authType) {
                        // Trust always
                    public void checkServerTrusted(X509Certificate[] certs, String authType) {
                        // Trust always
            // Install the all-trusting trust manager
            SSLContext sc = SSLContext.getInstance("SSL");
            // Create empty HostnameVerifier
            HostnameVerifier hv = new HostnameVerifier() {
                public boolean verify(String arg0, SSLSession arg1) {
                        return true;
            sc.init(null, trustAllCerts, new java.security.SecureRandom());
            HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
            HttpsURLConnection.setDefaultHostnameVerifier(hv);
        public static void call(String url) throws Exception {
             HttpClient httpClient = new HttpClient();
             httpClient.setHttpConnectionFactoryTimeout(600000000);
            httpClient.getParams().setAuthenticationPreemptive(false);
           Credentials defaultcreds = new UsernamePasswordCredentials("username", "password");
           httpClient.getState().setCredentials(new AuthScope("projects.maemo.org", 443, AuthScope.ANY_REALM), defaultcreds);     
              HttpHost targetHost = new HttpHost("projects.maemo.org", -1, "https");
              System.setProperty("proxySet", "true");
              System.setProperty("http.proxyHost", "xxxx.com");
              System.setProperty("http.proxyPort", "xxxx");
              Authenticator proxyAuthenticator = new HttpAuthenticateProxy(
                        "username", "password");
              Authenticator.setDefault(proxyAuthenticator);
              XmlRpcClient rpcClient = new XmlRpcClient();
              XmlRpcCommonsTransportFactory factory = new XmlRpcCommonsTransportFactory(
                        rpcClient);
              factory.setHttpClient(httpClient);
              rpcClient.setTransportFactory(factory);
            XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
            config.setServerURL(new URL(url));
            config.setEnabledForExtensions(true);
              config.setEnabledForExceptions(true);           
              config.setBasicUserName("username");
              config.setBasicPassword("password");
              rpcClient.setConfig(config);      
              Map<String, String> loginMap = new HashMap<String, String>();
              String bugzillaUserName = "username";
              String bugzillaPassword = "password";
              loginMap.put("login", bugzillaUserName);
              loginMap.put("password", bugzillaPassword);
              Object loginResult = rpcClient.execute("User.login",new Object[] { loginMap });
              System.out.println("loginResult.toString() "
                        + loginResult.toString());
        public static void main(String[] args) throws Exception {
            String url = "https://projects.maemo.org/bugzilla_sandbox/xmlrpc.cgi";
            Test1.install();
            Test1.call(url);
            System.out.println("Finished.");
    }

Maybe you are looking for

  • Deactivating region (taskflow) when changing showDetailItem in panelTabbed

    Jdev 11.1.1.4 I have a JSF page with a af:panelTabbed wiith two af:showDetailItem In every af:showDetailItem I have a region mapping to the same task flow in both regions (in order to reuse). The taskflow has to main steps: First one method call init

  • Hyperion Shared services Migration/Export import

    Hi, We are migrating the OS from Windows to UNIX in Essbase System 9. I am trying to export the exixting grous/filter access from the Windows environment (shared services--Single sign on) to the unix server. There are several cubes in the Windows, bu

  • Mac osx 10.4.11 and HP Deskjet 3520

    hi , I have perfectly functioning Max on OSX10.4.11 and just got HP Deskjet 3520 and info says I need OSX 10.6 minimum- any way of making printer work on 10.4.11 ? cheers GT

  • How to split stereo track into 2 mono

    How to split a stereo audio track into two seperate mono tracks (Left, Right). (Have searched the manual..) Bonqui

  • Photo suite 5.5

    When I downloaded and installed this software , it automatically installed in LR3 and cs5 32 bit.  My system is windows 7.  The software plug-ins appear in 32 bit ,but not in 64 bit.  I copied the plug-ins to the plug in folder under 64 bit , but whe