.NET Standard 2.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

XPOIntegratedCachedRequestSecurityAdapter Class

A Security Adapter used in XPO-based applications with the Integrated security.

Namespace: DevExpress.ExpressApp.Security.Xpo.Adapters

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

Declaration

public class XPOIntegratedCachedRequestSecurityAdapter :
    XPORealObjectSecurityAdapterBase

Remarks

To enable the XPOIntegratedCachedRequestSecurityAdapter Security Adapter, choose XPO and Client-Side Security - Integrated Mode in the Solution Wizard, or pass the XpoIntegratedCachedRequestSecurityAdapterProvider object to the static IsGrantedAdapter.Enable method.

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

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 constructor of your application located in the WinApplication.cs (WinApplication.vb) or WebApplication.cs (WebApplication.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 Web Forms application located in the Global.asax.cs (Global.asax.vb) file, before the WebApplication.Start call.

Inheritance

Object
DevExpress.ExpressApp.Security.Adapters.SecurityAdapterBase
DevExpress.ExpressApp.Security.Adapters.RealObjectSecurityAdapterBase
DevExpress.ExpressApp.Security.Xpo.Adapters.XPORealObjectSecurityAdapterBase
XPOIntegratedCachedRequestSecurityAdapter
See Also