First i like to use Xafari.Security.dll.
I try to follow your docs. in part of / XAF Security, Authentication Technology, step by step.
After a first start of a all ready used App , we use Complex Security Strategy with Windows Auth,
i change all things to use a DC component for department i get first a error: ‘Xafari.Security.DC.DCSecurity’ is obsolete: ‘Do not use.’
i follow your doc: in this point here:
public override void Setup(XafApplication application)
{
base.Setup(application);
…
DCSecurity.RegisterSecurity();
DCSecurity.RegisterDCSecuritySystemRole();
DCSecurity.RegisterDCSecuritySystemUser();
//or
//DCSecurity.RegisterSecurity()
//DCSecurity.Register()
…
}
|