Dan (DevExpress)
06.14.2012
1 Solution
See the attached archive.
To check object access permissions, use the following method:
[C#]SecuritySystem.IsGranted(new ClientPermissionRequest(targetObjectType, memberName, objectHandle, SecurityOperations.Write));
where objectHandle can be obtained via the IObjectSpace.GetObjectHandle method. You can pass Null in memberName and objectHandle arguments to check a permission for the entire type or object instance.
We will update our documentation accordingly.
Show all comments
-
And what is it?
Purpose?
New demos?
Replacement?
For what????
-
I have created this resource to publish a set of Security applications to keep them up-to-date and extend them shortly until we describe all these scenarios in our documentation and demonstrate them in examples. Currently, we have not finished our work so I have created a separate temporary resource to show some code right now. I will use it in my replies as well as our documentation and example database.
-
Hi,
I tried the ClientServer_Wcf_StandardAuth version, it runs ok locally but as soon as I move the application server to a remote server (and another domain) I get the following error:
Exception occurs while the 'DevExpress.ExpressApp.Security.SecurityModule' customizes TypesInfo: The caller was not authenticated by the service.
I was under the impression that cross domain should be possible using this particular configuration. Am I wrong or is there something I must do/be aware of?regards
Martin -
Got the same result for the ClientServer_Wcf_CustomAuth version, does that mean that the problem is at my end?
-
This exception is thrown by .NET code in case the configured .NET classes receive an authentication error message from a WCF service. For more details see:
- WCF windows authentication security error
- The caller was not authenticated by the service in WCF Service on VMs
- Impersonating ASP.NET user to make WCF call
- WCF error: The caller was not authenticated by the service
-
Any additional work on this?
-
@David: You can see our security demos at %Public%\Documents\DXperience 12.2 Demos\eXpressApp Framework\SecurityDemo\CS\
There are also many examples in the Code Central and docs on the subject.See Also:
How to deploy the OData security service in the Cloud for further use by a mobile DXTREME client
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+