The requested page is not available for the requested platform. You are viewing the content for Default platform.

XPOClientServerCachedRequestSecurityAdapter Class

A Security Adapter used in XPO-based applications with the Application Server.

Namespace: DevExpress.ExpressApp.Security.Xpo.Adapters

Assembly: DevExpress.ExpressApp.Security.Xpo.v18.2.dll

Declaration

public class XPOClientServerCachedRequestSecurityAdapter :
    SecurityAdapterBase,
    ISupportExternalRequestCache
Public Class XPOClientServerCachedRequestSecurityAdapter
    Inherits SecurityAdapterBase
    Implements ISupportExternalRequestCache

Remarks

To enable the XPOClientServerCachedRequestSecurityAdapter Security Adapter, choose XPO and Middle Tier Security - WCF Service in the Solution Wizard, or pass the XpoClientServerCachedRequestSecurityAdapterProvider object to the static IsGrantedAdapter.Enable method.

using DevExpress.ExpressApp.Security.Adapters;
using DevExpress.ExpressApp.Security.Xpo.Adapters;
// ...
IsGrantedAdapter.Enable(new XpoClientServerCachedRequestSecurityAdapterProvider());

You can call this static method from any place of your code which is executed before a user is logged on, e.g.:

  • in the constructor of your platform-agnostic module located in the Module.cs (Module.vb) file;
  • in the Main method of the WinForms application located in the Program.cs (Program.vb) file, before the WinApplication.Start call;
  • in the Application_Start method of the ASP.NET application located in the Global.asax.cs (Global.asax.vb) file, before the WebApplication.Start call.

Inheritance

Object
DevExpress.ExpressApp.Security.Adapters.SecurityAdapterBase
XPOClientServerCachedRequestSecurityAdapter

Implements

DevExpress.ExpressApp.Security.Adapters.ISecurityAdapter
DevExpress.ExpressApp.Security.Adapters.ISupportExternalRequestCache
See Also