HTTP server with authentication and session management

Hello!

I'm looking for an implementation of HTTP server as [Server HTTP JavaSE6 | http://download.oracle.com/javase/6/docs/jre/api/net/httpserver/spec/index.html] or NanoHTTPD, but with simple authentication per session and session management.

Google was not really useful here, cause most links are on JSP/Servlet, but I need a full Java Server code. Is there already something out there that could match my needs? When not, can someone give me a useful link to the coding session management?

Welcome, itschoma

Focus on the pier. It is integrable if I remember correctly.

Tags: Java

Similar Questions

  • At my place of work, there are a data server with LAN and internet networking. I want to disable the internet connection before it is infected with the virus.

    At my place of work, there are a data server with LAN and internet networking. I want to disable the internet connection before it is infected with the virus.

    original title: server and virus problem

    Hi SurajMendon,

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the platform of networking on TechNet. Please post your question in the TechNet Windows XP Networking forum.

    Networking platform

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

  • I'm transferring my entire website from my old Web host at GoDaddy. How to copy all my files (in Dreamweaver) to my Web site from the server, it's on now, on my desk? So I can then connect you to my new server with GoDaddy and transfer all s

    I'm transferring my entire website from my old Web host at GoDaddy. How to copy all my files (in Dreamweaver) to my Web site from the server, it's on now, on my desk? So I can then connect you to my new server with GoDaddy and transfer all of the site?

    If you don't have local copies of your site on your computer...

    1 create a new Site definition using your old FTP GS-01 information: definition of a new site. Learn Dreamweaver CS5 & CS5.5 | Adobe TV

    2. Once you have the defined site and can connect, click on the Get (down arrow) command in the files Panel

    3 when you are prompted to hit "get the entire Site? Yes

    4. After downloading the entire site, navigate to the Site > Manage Sites > click the site > Edit > servers > click on the remote server > Edit to enter your new GoDaddy FTP Info

    5. after the test connection to check, you can connect, click the command Put (up arrow) in the files Panel

    If you have a site already defined for your old Web host, go to #4 above.

  • vCenter Server 4.0 and Update Manager

    Hello

    Can vCenter Server 4.0 and Update Manager be installed on the same server?

    I understand that they both must separate databeses.

    Thank you

    Euan

    Is the same as VI 3.5.

    You need two DB, but also on the same SQL instance.

    So you can install on the same computer.

    See also pages 10 and 11:

    http://www.VMware.com/PDF/vSphere4/R40/vsp_compatibility_matrix.PDF

    André

  • Flash remoting and session management

    Hello

    I'm developing an application in Flash and AS3 and I use ColdFusion 8 for flash remoting. Some screens will be used by only 1 user. I googled many times and I had a few pages containing topics 'OnSessionStart', 'OnSessionEnd' and 'OnRequest', I tried to use my CFCs but makes no sense. I want to erase the State of the use of the screen in my application. If I can catch the event 'session-end', I can clear the field of use of database. So if a user closes the browser window not correctly, the value of the field will be handed over to zero and one other user can use the screen safely.

    Help, please. Thank you.

    How do you currently user and session management, then? It is entirely in Flex? To make the session management in ColdFusion, you must have either an Application.cfc (or an Application.cfm... Application.CFC is recommended, however) file in the same folder as the portion of your application ColdFusion. The CF server will be automatically call Application.cfc before you run some of your pages on cfc or cfm and run automatically to the SystemFramework, OnSessionStart, OnRequestStart, OnRequest, OnRequestEnd, OnSessionEnd, OnApplicationEnd or OnError methods you defined in the Application.cfc file. SystemFramework fires when the CF application is first started, OnSessionStart is triggered whenever a new session is started, OnRequestStart is triggered at the beginning of each page request, etc. You don't need to define all the... in my applications, I used SystemFramework, OnSessionStart, OnRequestStart, OnSessionEnd and OnError defined. There is also no need to worry when or how call one of these methods the CF server that will do for you. All you have to do, is essentially, describe what you want to happen when a session starts or ends, when a page request occurs when the application starts, etc. and CF will call the appropriate method that you hit every event. A simple Application.cfc file might look like this:


       


       
       
      
       
       
       
           
           
           
       

       
       
       
           


           
       
       
       


           
          
           
       
       

    Does that help? Also, I would recommend that you read the section of the livedocs framework of the CF Application and how to manage the session data and application.

    ~ a

  • What do need me for Oracle Http Server with mod_plsql on 64-bit Linux?

    I try to get ESS on a linux machine but I'm not sure that I install the correct thing!

    Currently I have a windows box running the server applications of 10 GB, but everything seems to have changed since then and there seems to be many different things to do with the Fusion Middleware and stuff. I tried to find an overview in English clear of what are all these things, but all I can find is a lot of marketing buzz words!

    All in need in order to run the ESO with the mod_plsql so I can run my apex application. I would be greatfull if someone could point me in the right direction for what I have to install!

    The box, that is happening is a CentOS Linux 64-bit computer. I download and installed Oracle WebLogic Server 11 g Rel (10.3.3) 1 by using the generic installer for the 64-bit java, but there seems to be no http server although they say there is! Most likely I'm doing something wrong but Setup is completed successfully, but nothing is running on port 7001.

    Do I really need the WebTier instead? What is the best solution for the execution of ESO with mod_plsql? I need the installation of WebLogic as well? Unfortunately, I'm pretty new to Linux as well which is not helping!

    Thanks for any help

    Robert

    Well, you have two options:
    -Use the distro of BCI WebTier utility SST. (Use 11.1.1.3 version, you need the two distributions 11.1.1.2 and 11.1.1.3)
    -Use the distro DB Companion Disk OSH.

    WebLogic Server is a Java EE application with an HTTP server included, but not intended to be used in replacement of OHS/Apache. It does not mod support

    HTH,
    -olaf

  • Oracle HTTP server with multiple apex bodies

    It is possible to have an Oracle HTTP Server installed in a different machine.
    and apex mounted databases in the different machines?

    Or it would be necessary to install a HTTP server for each instance of APEX?

    For example:

    Machine 3
    ___DATABASE A
    Machine 1 to Machine 2.
    BROWSER-> HTTP SERVER.
    ------Machine 4
    \___DATABASE B

    Yes, you can set several dads - pointing to bodies different machines/APEX - in a case of OSH.
    See http://docs.oracle.com/cd/E21764_01/web.1111/e10144/under_mods.htm#i1055269 (for example, just Google)

  • Problem with tween and event manager vignette (movieclip removes a scene)

    Hi im new to this forum thing so excuse my label if its inappropriate. Im having a problem with a hold of im file as2, this is a gallery of thumbnails 6 simple with coded interpolations. Once you click on a thumbnail then attached expansion is supposed to appear on the screen, it seems doesn't work after the first click a thumbnail, once the image appears then click it disappears, and this function only used to work once but now it does work only twice, but the second time around the bigger picture and cannot get rid of the stadium would be a problem of swapDepths?

    Here is my code, I've only fully coded first high tile left. enclosed please find my swf for the file, I could really do with help and everything would be appreciated thanks. I'm new on as you please be gentle.

    Stop();

    Import mx.transitions.Tween;

    Import mx.transitions.easing. *;

    _root.createEmptyMovieClip("container_mc",0);

    container_mc._x = (Stage.width) / 2;

    container_mc._y = (Stage.height) / 2;

    thumb1._alpha = 50;

    thumb1.onRollOver = function() {}

    new Tween (thumb1, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb1.onRollOut = function() {}

    new Tween (thumb1, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    thumb1.onRelease = function() {}

    container_mc.attachMovie ("image1", "pic1", 2);

    new Tween (container_mc, "_alpha", Strong.easeOut, 0, 100, 2, true ");

    }

    container_mc.onRelease = function() {}

    This.Enabled = False;

    var myFadeOut = new Tween (container_mc, "_alpha", Strong.easeOut, 0, 100, 2, true ");

    myFadeOut.onMotionFinished = function() {}

    container_mc.unloadMovie ();

    }

    }

    Thumb2._alpha = 50;

    Thumb2.onRollOver = function() {}

    new Tween (thumb2, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    Thumb2.onRollOut = function() {}

    new Tween (thumb2, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    thumb2.onRelease = function() {}

    container_mc.attachMovie ("image2", "Note2", 0);

    new Tween (container_mc, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb3._alpha = 50;

    thumb3.onRollOver = function() {}

    new Tween (thumb3, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb3.onRollOut = function() {}

    new Tween (thumb3, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    thumb4._alpha = 50;

    thumb4.onRollOver = function() {}

    new Tween (thumb4, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb4.onRollOut = function() {}

    new Tween (thumb4, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    thumb5._alpha = 50;

    thumb5.onRollOver = function() {}

    new Tween (thumb5, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb5.onRollOut = function() {}

    new Tween (thumb5, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    thumb6._alpha = 50;

    thumb6.onRollOver = function() {}

    new Tween (thumb6, "_alpha", Strong.easeOut, 50, 100, 0.5, true ");

    }

    thumb6.onRollOut = function() {}

    new Tween (thumb6, "_alpha", Strong.easeOut, 100, 50, 0.5, true ");

    }

    do its _visible property false when his _alpha is 0 (and make _visible instead of it the reactivation).  You can elimate the active code.

  • problem with authentication and owa_util.redirect_url

    Hi all

    This is Pavan using apex version 4.2.3

    I have different types of connections, as it is admin and a user depends on the user or admin it redirects to a particular page, I use this with the custom authentication method that I wrote a procedure to redirect to a specific page, I called this procedure in the authentication of message calls the procedure but is not redirect his login page on same as if I remove its validation of the user name and password and go on page 1,.

    I used this procedure

    procedure post_auth_4456789976 is

    Start

    declare

    Number V_PAGE;

    Start

    Select START_PAGE in V_PAGE of LOGIN_TAB where upper (USER_NAME) = upper(:APP_USER);

    owa_util. REDIRECT_URL ('f? p ='|: APP_ID |': ' |) V_PAGE |': ' | (: SESSION: ': ');

    exception

    while others then

    owa_util. REDIRECT_URL ('f? p ='|: APP_ID |) » : 2 :'|| (: SESSION);

    end;

    end;

    may I know don't know what exactly, is the problem am I miss anything or am I was wrong, let me know,.

    Click here for the link https://apex.oracle.com/pls/apex/htmldb/f?p=52985:LOGIN_DESKTOP:1110119686316

    Thanks in advance,

    Pavan

    Hi Pavan,

    the appeal written REDIRECT_URL 'place' redirects header, but the APEX motor wants to redirect. You can control where it redirects by setting the deep link in the authentication of message. Simply set the built-in element deep link, like this:

    :FSP_AFTER_LOGIN_URL := 'f?p='||:APP_ID||':'||V_PAGE||':'||:SESSION;
    

    Kind regards

    Christian

  • Customize the appearance of the pages of Content Server with hcsf and idoc?

    I read the documentation here:
    http://download.Oracle.com/docs/CD/E14571_01/ doc.1111 /e10807/c04_look_nav002.htm

    and can create a simple form using hcsf and idoc.

    Here's what I'd really like to do:
    I would like to create very simplified forms that support the following Content Server features:
    1. documents search
    2. the document Checkout
    3. New Document add
    4. the display of search results

    By simple I mean is the following: no bar tool of any kind, no decoration, just the bare minimum to support the above mentioned functions.

    My questions:
    Is it still possible?
    Are there examples of this anywhere?
    Y at - it more documentation on the use of hcsf and idoc to integrate functions of content server?

    Thanks in advance for your help,
    Dave

    Dave,
    try adding & coreContentOnly = 1 at the end of the URL and see if that does the trick for you.

    This prevents the std_page_begin and std_page_end includes run / display which removes the toolbars, etc.

    With the help of profiles and rules, you can control the rest of the research and documentation of formatting and appearance.

    If you really want to reproduce a standard behavior with forms (for example, other specialized uses) then take a look at the book of Bex (http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846)

    or talk to us, to the jar, as forms and workflows are a specialty of our - http://bit.ly/b2Ydv6
    We do special forms for business process centric work such as ECOs, ESRB, contract management, BOM, CapEx etc...

    Warmly,.
    Billy Cripe
    Fishbowl Solutions

  • Error with authentication and content Presenter Portlet

    I was testing just one request I developed when I realize something was wrong with almost all portlets for content present in my portal... after authentication in my portal I get this to log files


    < 03/09/2009-10:04:08 AM GMT - 06:00 > < error > < netuix > < BEA-423166 > < an exception or an error has occurred in the backup file [com.bea.content.ui.framework.ContentUIPortletBacking] during the execution of the handlePostbackData method. It was java.lang.IllegalStateException: failed to retrieve the current portlet instance information.
    java.lang.IllegalStateException: failed to retrieve the current portlet instance information.
    at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
    at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
    at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
    to com.bea.netuix.servlets.controls.Backable$ Impl.handlePostbackData (Backable.java:166)
    at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
    Truncated. check the log file full stacktrace
    >
    java.lang.NullPointerException
    When connecting. LoginBacking.handlePostbackData (LoginBacking.java:43)
    to com.bea.netuix.servlets.controls.Backable$ Impl.handlePostbackData (Backable.java:166)
    at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
    at com.bea.netuix.servlets.controls.window.Window.handlePostbackData(Window.java:606)
    to com.bea.netuix.nf.ControlLifecycle$ 2.visit(ControlLifecycle.java:180)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) < 03/09/2009-10:07:56 AM GMT - 06:00 > < error > < netuix > < BEA-423166 > < an exception or an error has occurred in the backup file [com.bea.content.ui.framework.ContentUIPortletBacking] during the execution of the handlePostbackData method. It was java.lang.IllegalStateException: failed to retrieve the current portlet instance information.
    java.lang.IllegalStateException: failed to retrieve the current portlet instance information.
    at com.bea.content.ui.framework.services.PortletManagementService.getPortletSessionConfigurationKey(PortletManagementService.java:2726)
    at com.bea.content.ui.framework.services.PortletManagementService.hasReturnedFromConfiguration(PortletManagementService.java:938)
    at com.bea.content.ui.framework.ContentUIPortletBacking.handlePostbackData(ContentUIPortletBacking.java:139)
    to com.bea.netuix.servlets.controls.Backable$ Impl.handlePostbackData (Backable.java:166)
    at com.bea.netuix.servlets.controls.AdministeredBackableControl.handlePostbackData(AdministeredBackableControl.java:83)
    Truncated. check the log file full stacktrace
    >

    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
    at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
    at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
    at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:686)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:336)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.bea.jsptools.servlet.PagedResultServiceFilter.doFilter(PagedResultServiceFilter.java:82)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs (unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)



    I do not know why this phenomenon happens, cause the operation of authentication, except this ugly exception which I think is thrown after trying to restore the content presenter portlets

    The work of presenter content portlets (I want to say I see he is happy and can be changed) fine but those recently added is no everyone knows the reason?


    It does not work even when I start a new project.

    Which may occur if you configure the backup file to rather than . Open your connection .portlet file and make sure that the backup file is configured on the tag.

    In addition, it is important to note that content presenter only supports streaming portals and portals not file-based because it is entirely based on the customizations. See http://edocs.bea.com/wlp/docs102/portlets/development.html for more information.

  • Problems with Aero and Desktop Manager

    All these problems started after I downloaded an upgrade of windows (last year I think). Whenever I started my computer to the taskbar and stuff Aero initiated very well, then after a few seconds the taskbar became white and disable Aero. Now, it is even worse, Windows just to start with the Basic (looking for old windows) theme and even if I try to restart the Desktop Window Manager, it will not work. Yesterday I installed and Nvidia card (the PC came with a built-in video chip only) and I was hoping to get the fix for the problem, but did not *. I also downloaded the Fix Aero tool and nothing. Even the msconfig.exe won't help. What can I do? It frustrates me.

    Hello

    If you have already tried to run the fix in the below gave link, try the steps that are proposed in the given link and check if that helps.

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-Windows-Aero

    Hope that information was useful

  • Authentication and Password Manager

    I'm trying to see if there is a way to turn the password manager leave during installation of the authentication work.

    We are running Dell Data Protection Enterprise Edition and currently using the encryption part, but we are now beginning to deploy Latitude E7470 with a fingerprint Reader.  We want to allow users to use the Finger Print Reader to log on the system, but do not want to use it for all the different websites in that they connect.  Is there a way to disable or permanently disable password manager during the installation of the part of authentication?

    Hi Tim,.

    You can not disable the functionality of password currently switch installation Manager however the below registry additions will prevent the operating password manager.

    > [HKEY_LOCAL_MACHINE\SOFTWARE\DigitalPersona\Policies\CommonSettings]

    > [HKEY_LOCAL_MACHINE\SOFTWARE\DigitalPersona\Policies\CommonSettings\ {42F9948B-B690-4325-A073-63A8BF31FF32}] "DisableApps" = DWORD: 00000001

    >

    > [HKEY_Current_User\SOFTWARE\DigitalPersona\Policies\CommonSettings]

    > [HKEY_ Current_User \SOFTWARE\DigitalPersona\Policies\CommonSettings\{42F9948B-B690-4325-A073-63A8BF31FF32}] "DisableApps" = DWORD: 00000001

  • HTTP GET with authentication does not work in Adobe Indesign javascript

    Hello

    This is the code I am trying to run in the Indesign script. The URL http://localhost:4502/content/geometrixx/en/company/news/articles.html works directly in a browser, it renders the content. But when I try running the below in Indesign, it gives the following result. It does not really give the conent return.

    InDesign script code:

    response = "";

    Conn = new Socket;

    access the Adobe homepage

    If (conn.open ("localhost:4502")) {}

    var request = "GET /content/geometrixx/en/company/news/articles.html HTTP/1.0\n\n ' +.

    "Authorization: basic admin:admin\n"

    Conn.Write (request); and read the response from the server

    response = conn.read (999999);

    Alert (Reply);

    Conn.Close ();

    }

    Output in Indesign:

    HTTP/1.1 404 not found

    Connection: close

    Server: Day-Servlet-Engine/4.1.12

    Content-Type: text/html; Charset = UTF-8

    Content-Length: 387

    Date: Wednesday, December 7, 2011 03:05:26 GMT

    <! DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 / / BY" > ".

    < html > < head >

    < title > 404 not found < /title >

    < / head > < body >

    Found < H1 > < / h1 >

    < p > the requested URL /content/geometrixx/en/company/news/articles.html was not found on this server. < /p >

    < hr >

    < address > ApacheSling/2.2 (Java hotspot Server VM 64 1.6.0_29;) Mac OS X 10.7.2 x86_64) < / address >

    < body / > < / html >

    Hello

    Your code has problems.

    1 HTTP request closed 1st line. Server wait and get the data so that come from "\n\n".

    2. name and password of the user authorization string must be base64 encoding.

    You can read as a reference:

    http://en.Wikipedia.org/wiki/Basic_access_authentication

    Here's an example query:

    var request = "GET /autharea/index.html HTTP/1.1\n '.

    + "Host: (servername) \n".

    + "Content-Type: text/html;" Charset = UTF - 8\n ".

    + "Authorization: basic" + encodedData + "\n\n";

    and work with function base64 code

    var authStr = "name";

    var encodedData = base64 (authStr);

    var response = "";

    var conn = new Socket;

    var request = "GET /autharea/index.html HTTP/1.1\n '.

    + "Host: (serverName) \n"

    + "Content-Type: text/html;" Charset = UTF - 8\n ".

    + "Authorization: basic" + encodedData + "\n\n";

    If (conn.open ('130.1.6.46:80', 'UTF-8')) {}

    Conn.Write (request);

    response = conn.read (999999);

    Conn.Close ();

    Alert (Reply);

    }

    function base64 (binaryString) {}

    var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + / =";

    var encoded = "";

    var c1, c2, c3;

    var e1, e2, e3, e4;

    var i = 0;

    While (i< binarystring.length)="">

    C1 = binaryString.charCodeAt(i++);

    C2 is equal to binaryString.charCodeAt(i++);

    C3 = binaryString.charCodeAt(i++);

    E1 = c1 > 2;

    e2 = ((c1 & 3) < 4)="" |="" (c2="">> 4);

    E3 = ((c2 & 15) < 2)="" |="" (c3=""> > 6);

    E4 = c3 & 63;

    If (isNaN (c2)) {}

    E3 = e4 = 64;

    } Else if (isNaN (c3)) {}

    E4 = 64;

    }

    encoded = code + keyStr.charAt (e1) + keyStr.charAt (e2) +.

    keyStr.charAt (e3) + keyStr.charAt (e4);

    }

    return encoded;

    }

    Ten

  • vCenter Server Virtual Appliance and Update Manager

    Hello

    Anyone with experience in the present? Documentation says that it is not possible to install the update on a VCSA Manager but you can install the update on a Windows Machine Manager and point it at the VCSA.

    Anyone try? It works as recommended by VMware?

    Thanks in advance!

    elgreco81

    As petkom says...

    That works, let some customers like that, no problem.

Maybe you are looking for