The SingleRadiusServerAuthPerSession property gets or sets a Boolean value that indicates whether the Forefront TMG Web proxy will validate user credentials with a RADIUS server to authenticate the user only once during a TCP connection or on each request.
HRESULT put_SingleRadiusServerAuthPerSession( [in] VARIANT_BOOL fRadiusSingleRequest ); HRESULT get_SingleRadiusServerAuthPerSession( [out] VARIANT_BOOL* pfRadiusSingleRequest );
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the Web proxy will validate user credentials with a RADIUS server to authenticate the user only once during a TCP connection, or to VARIANT_FALSE if the Web proxy will validate user credentials with a RADIUS server to authenticate the user on each request.
Boolean value that indicates whether the Web proxy will validate user credentials with a RADIUS server to authenticate the user only once during a TCP connection or on each request.
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Property SingleRadiusServerAuthPerSession As Boolean
Boolean value that indicates whether the Web proxy will validate user credentials with a RADIUS server to authenticate the user only once during a TCP connection.
Sub SetSingleRadiusAuth(listenerName, NewValue) ' Declare the other objects needed. Dim root ' The FPCLib.FPC root object Dim isaArray ' An FPCArray object Dim listener ' An FPCNetwork object Dim currentValue ' A Boolean ' Create the root object. Set root = CreateObject("FPC.Root") ' Get references to the array object ' and the Web listener object. Set isaArray = root.GetContainingArray() Set listener = isaArray.RuleElements.WebListeners.Item(listenerName) ' Change the value of the property if necessary. currentValue = listener.Properties.SingleRadiusServerAuthPerSession WScript.Echo "Current status: " & currentValue If newValue <> currentValue Then listener.Properties.SingleRadiusServerAuthPerSession = newValue WScript.Echo "New status: " & listener.Properties.SingleRadiusServerAuthPerSession listener.Save WScript.Echo "Done!" End If End Sub
This property is read/write. Its default value is False (VARIANT_FALSE in C++).
When this property is set to True (VARIANT_TRUE in C++), the Web proxy caches the credentials of a user after successful authentication using a RADIUS server and then uses the cached credentials for comparison with the credentials sent in subsequent requests within the same connection instead of sending them to the RADIUS server.
This property cannot be accessed through Forefront TMG Management.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.