Status | ID | Priority | Type |
Closed | 38560 | Major | Question |
Profile | Reply |
UKClient | What are necessary steps to implement solution described at https://docs.devexpress.com/eXpressAppFramework/112982/task-based-help/security/how-to-use-custom-logon-parameters-and-authentication with Xafari security concept, which modifications are needed? |
User | Description | Posted On |
MariyaVoytovichAgent | Hello UK! How to connect Xafari Security you can read in the articles Xafari Security.XPO and Xafari Security. Domain Component. Feel free to contact us if you need further assistance or have additional questions. Regards, | |
UKClient | Dear Mariya, Objective is to have authentication type selection between standard and windows an also possibility for selection of company. I followed 2 tutorials: - https://documentation.galaktika-soft.com/xafari/doc_security_xpo In Devexpress part I changed user (Employee) to SecuritySystemUser instead PerimissionPolicyUser. Q1, UserType for "Security Strategy Complex" is set to DevExpress.ExpressApp.Security.Strategy.SecuritySystemUser. Is that corect? Q2, Both authentication types, Windows and Standard are working, but what additional modifications are needed that also Company selection dropdown apears on login screen? | |
MariyaVoytovichAgent | Hello UK! I apologize for the delayed response. We are dealing with this issue. Unfortunately I will need some more time. Regards, | |
MariyaVoytovichAgent | Hello UK! Thanks for your patience. We have prepared an example for you with Custom Logon. See attached file. Feel free to contact us if you need further assistance or have additional questions. Regards, Attached files: | |
UKClient | Dear Mariya, Thank you for sample. Standard authentication is working. About windows authentication it is not clear to me why current windows user does not appear in username textbox within login window, should I create it first so it exists in database? How can i make company text box value read only or hide it and preset value to e.g. company1? | |
MariyaVoytovichAgent | Hello! 1. yes, this application assumes that the user must be created. Then, during the windows authentication, the Employee field will be filled. But you can implement different logic in your application. 2. You can hide the field or make it read-only in the model editor. To do this, you need to open the model editor, go to the CustomLogonParameters_DetailView. So that the field is read only, you need to select the Company Item in Items node of CustomLogonParameters_DetailView. Set property AllowEdit to False. You can make a preset company1, for example, in the controller CustomAuthenticationViewController. Regards, |