Xafari Security

StatusIDPriorityType
Closed28597CriticalFeature
ProfileReply
doorscomputersClient

I created my XPO classess from a sample existing SQL server database, just OrderHEader and OrderDetail class. I decorated with [DefaultClassOptions] so I can see them in the Navigation at the left, and looks fine when I ran the sample Xafari Application (I built it with xafari Applciation Wizard) . When I tried to implement the Xafari Security I am required to Log on With Standard and Windows, Here is the problem, When I choose Standard nothing is displayed on the navigation at the left, My second option is to choose standard, I am now required to enter the password, what is the password then because it is a new application and I never entered a password yet? I wanted to go back to the XAF default security but I want to know What is the main advantage of using the Xafari Security? Thanks very much!

Replies

UserDescriptionPosted On
doorscomputers

Just a Follow up, How do I display the Security Settings Like the Roles, Users etc. It is by default available in the Xaf Security. Thanks!

Sasha (Xafari Support)Client

Hello,

Thank you for the ticket.
We are going to investigate it and prepare additional information for you. Give us some time.

Best regards,
Sasha.

Sasha (Xafari Support)Client

Hello,

Thanks for your patience.

If you use DevExpress wizard for create a project, you can setting a Xafari security using Xafari documentation for security:
- add Xafari modules in project modules: XafariModule, XafariWin(Web)Module, XafariSecurityWin(Web)Module, XafariSecurityXpoModule;
- add SecurityStrategyComplex component from the XAF Security group on Toolbox to the Security pane on designer in Application Designer(Win(Web)Application.cs[Design]);
- invoke Properties Window and set RoleType property to the "Xafari.Security.Xpo.XafariSecuritySystemRole" value;
- add XafariAuthentication component from the Xafari group on designer in Application Designer(Win(Web)Application.cs[Design]).

If you use Xafari wizard for create a project, you can setting a Xafari security:
- add Xafari modules in project modules: XafariModule, XafariWin(Web)Module, XafariSecurityWin(Web)Module, XafariSecurityXpoModule;
- add SecurityStrategyComplex component from the XAF Security group on Toolbox to the Security pane on designer in Application Designer(AppModule.cs[Design]);
- invoke Properties Window and set RoleType property to the "Xafari.Security.Xpo.XafariSecuritySystemRole" value;
- add XafariAuthentication component from the Xafari group on designer in Application Designer(AppModule.cs[Design]).

After the settings and building a project in database is created administrator as your computer account. Windows Authentication use the account.
Primarily you login to use Windows Authentication. After login you can see navigation objects: My Details, User, Role and your default XPO objects. When you create new user and set all settings, you can save the user and select an action Reset Password, and assign password.

Use the Xafari Security you can set hierarchy for roles and you can expanded permissions: as example there is access setting for actions. Also you can use for settings the SecurityStrategyComplex a DevExpress type role and user.

Feel free to contact us if you have any questions.
Best regards, Sasha.

× This ticket is closed.

Write US