VirtualBox

Changeset 33185 in vbox


Ignore:
Timestamp:
Oct 18, 2010 8:40:50 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66721
Message:

generalized and moved auth modules

Location:
trunk
Files:
14 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_AdvancedTopics.xml

    r32721 r33185  
    617617    </sect2>
    618618
    619     <sect2 id="vrdp-authenticate-sdk">
    620       <title>Custom external VRDP authentication</title>
    621 
    622       <para>As described in <xref linkend="vrdp-auth" />, VirtualBox supports
    623       arbitrary external modules to perform authentication with its VRDP
    624       servers. When the authentication method is set to "external" for a
     619    <sect2 id="vbox-authenticate-sdk">
     620      <title>Custom external authentication modules</title>
     621
     622      <para>As described in <xref linkend="vbox-auth" />, VirtualBox supports
     623      arbitrary external modules to perform authentication. When the
     624      authentication method is set to "external" for a
    625625      particular VM, VirtualBox calls the library that was specified with
    626626      <computeroutput>VBoxManage setproperty vrdpauthlibrary</computeroutput>.
     
    635635      override the result.</para>
    636636
    637       <para>A VRDP authentication library is required to implement exactly one
     637      <para>An authentication library is required to implement exactly one
    638638      entry point:</para>
    639639
  • trunk/doc/manual/en_US/user_Frontends.xml

    r32331 r33185  
    325325    </sect2>
    326326
    327     <sect2 id="vrdp-auth">
     327    <sect2 id="vbox-auth">
    328328      <title>RDP authentication</title>
    329329
     
    351351                <listitem>
    352352                  <para>On Linux hosts,
    353                   <computeroutput>VRDPAuth.so</computeroutput> authenticates
     353                  <computeroutput>VBoxAuth.so</computeroutput> authenticates
    354354                  users against the host's PAM system.</para>
    355355                </listitem>
     
    357357                <listitem>
    358358                  <para>On Windows hosts,
    359                   <computeroutput>VRDPAuth.dll</computeroutput> authenticates
     359                  <computeroutput>VBoxAuth.dll</computeroutput> authenticates
    360360                  users against the host's WinLogon system.</para>
    361361                </listitem>
     
    363363                <listitem>
    364364                  <para>On Mac OS X hosts,
    365                   <computeroutput>VRDPAuth.dylib</computeroutput>
     365                  <computeroutput>VBoxAuth.dylib</computeroutput>
    366366                  authenticates users against the host's directory
    367367                  service.<footnote>
     
    381381          <listitem>
    382382            <para>An additional library called
    383             <computeroutput>VRDPAuthSimple</computeroutput> performs authentication
     383            <computeroutput>VBoxAuthSimple</computeroutput> performs authentication
    384384            against credentials configured in the VM's extra data section. This is
    385385            probably the simplest way to get authentication that does not depend
    386386            on a running and supported guest (see below). In order to enable
    387             VRDPAuthSimple, issue
    388             <computeroutput>VBoxManage setproperty vrdpauthlibrary "VRDPAuthSimple"</computeroutput>.
     387            VBoxAuthSimple, issue
     388            <computeroutput>VBoxManage setproperty vrdpauthlibrary "VBoxAuthSimple"</computeroutput>.
    389389            To enable the library for a VM, switch authentication to external using
    390390            <computeroutput>VBoxManage modifyvm "VM name" --vrdpauthtype external</computeroutput>.
    391391            Last but not least, you have to configure users and passwords. Here is an example
    392392            for the user "john" with the password "secret":
    393             <computeroutput>VBoxManage setextradata "VM name" "VRDPAuthSimple/users/john" "secret"</computeroutput>
     393            <computeroutput>VBoxManage setextradata "VM name" "VBoxAuthSimple/users/john" "secret"</computeroutput>
    394394            To specify an empty password, use the special reserved value
    395395            <computeroutput>[NULL]</computeroutput>.
     
    410410        VirtualBox provides a well-defined interface that allows you to write your
    411411        own authentication module; see <xref
    412         linkend="vrdp-authenticate-sdk" /> for details.</para>
     412        linkend="vbox-authenticate-sdk" /> for details.</para>
    413413    </sect2>
    414414
  • trunk/doc/manual/en_US/user_Introduction.xml

    r31735 r33185  
    376376              it includes an easy-to-use SDK which allows you to create
    377377              arbitrary interfaces for other methods of authentication; see
    378               <xref linkend="vrdp-authenticate-sdk" /> for details.</para>
     378              <xref linkend="vbox-authenticate-sdk" /> for details.</para>
    379379            </listitem>
    380380
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r33007 r33185  
    936936            null|external|guest</computeroutput>: This allows you to choose
    937937            whether and how authorization will be performed; see <xref
    938             linkend="vrdp-auth" /> for details.</para>
     938            linkend="vbox-auth" /> for details.</para>
    939939          </listitem>
    940940
     
    20072007            <para>This specifies which library to use when "external" VRDP
    20082008            authentication has been selected for a particular virtual machine;
    2009             see <xref linkend="vrdp-auth" /> for details.</para>
     2009            see <xref linkend="vbox-auth" /> for details.</para>
    20102010          </glossdef>
    20112011        </glossentry>
  • trunk/src/VBox/HostServices/Makefile.kmk

    r28800 r33185  
    55
    66#
    7 # Copyright (C) 2006-2007 Oracle Corporation
     7# Copyright (C) 2006-2010 Oracle Corporation
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2020
    2121# Include sub-makefiles.
     22include $(PATH_SUB_CURRENT)/auth/Makefile.kmk
    2223ifdef VBOX_WITH_SHARED_FOLDERS
    2324 include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r32012 r33185  
    562562        MacOS/components/VBoxC.dylib \
    563563        MacOS/components/VBoxSVCM.dylib \
    564         MacOS/components/VBoxXPCOMIPCC.dylib
     564        MacOS/components/VBoxXPCOMIPCC.dylib \
     565        MacOS/VBoxAuth.dylib \
     566        MacOS/VBoxAuthSimple.dylib
    565567ifneq ($(wildcard $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/accessible/libqtaccessiblewidgets.dylib),)
    566568 VBOX_DI_VBAPP_DYLIBS += \
     
    573575ifdef VBOX_WITH_VRDP
    574576 VBOX_DI_VBAPP_DYLIBS += \
    575         MacOS/VBoxVRDP.dylib \
    576         MacOS/VRDPAuth.dylib \
    577         MacOS/VRDPAuthSimple.dylib
     577        MacOS/VBoxVRDP.dylib
    578578endif
    579579ifdef VBOX_WITH_CROGL
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r32547 r33185  
    184184endif
    185185
     186# auth stuff
     187VBOX_LNX_STRIP_BIN += \
     188        VBoxAuth.so \
     189        VBoxAuthSimple.so
     190
    186191# VRDP
    187192ifdef VBOX_WITH_VRDP
    188193 VBOX_LNX_STRIP_BIN += \
    189         VBoxVRDP.so \
    190         VRDPAuth.so \
    191         VRDPAuthSimple.so
     194        VBoxVRDP.so
    192195 ifdef VBOX_WITH_VRDP_RDESKTOP
    193196  VBOX_LNX_NO_STRIP += \
  • trunk/src/VBox/Installer/linux/deffiles

    r32394 r33185  
    5050    VBoxGuestPropSvc.so \
    5151    VBoxGuestControlSvc.so \
    52     VRDPAuth.so \
    53     VRDPAuthSimple.so \
     52    VBoxAuth.so \
     53    VBoxAuthSimple.so \
    5454    VBoxDbg.so \
    5555    VBoxDbg3.so \
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r31911 r33185  
    334334endif
    335335
     336# auth stuff
     337 SOLARIS_STRIP_BINS += \
     338        VBoxAuth.so \
     339        VBoxAuthSimple.so
     340
    336341# VRDP
    337342ifdef VBOX_WITH_VRDP
    338343 SOLARIS_STRIP_BINS += \
    339         VBoxVRDP.so \
    340         VRDPAuth.so \
    341         VRDPAuthSimple.so
     344        VBoxVRDP.so
    342345 SOLARIS_COMMON += \
    343346        rdesktop-vrdp.tar.gz
  • trunk/src/VBox/Installer/win/VirtualBox.wxs

    r31922 r33185  
    433433                              Source="$(env.PATH_OUT)\bin\VBoxGuestControlSvc.dll" />
    434434<?endif ?>
    435 <?if $(env.VBOX_WITH_VRDP) = "yes" ?>
    436                         <File Id="vrdpauthdll" Name="VRDPAuth.dll" DiskId="1"  Vital="yes"
    437                               Source="$(env.PATH_OUT)\bin\VRDPAuth.dll" />
    438                         <File Id="vrdpauthsimpledll" Name="VRDPASim.dll" LongName="VRDPAuthSimple.dll" DiskId="1"  Vital="yes"
    439                               Source="$(env.PATH_OUT)\bin\VRDPAuthSimple.dll" />
    440 <?endif ?>
     435                        <File Id="vboxauthdll" Name="VBoxAuth.dll" DiskId="1"  Vital="yes"
     436                              Source="$(env.PATH_OUT)\bin\VBoxAuth.dll" />
     437                        <File Id="vboxauthsimpledll" Name="VBoxASim.dll" LongName="VBoxAuthSimple.dll" DiskId="1"  Vital="yes"
     438                              Source="$(env.PATH_OUT)\bin\VBoxAuthSimple.dll" />
    441439                        <File Id="vmmgc" Name="VMMGC.gc" DiskId="1"  Vital="yes"
    442440                              Source="$(env.PATH_OUT)\bin\VMMGC.gc" />
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette