Try our conversational search powered by Generative AI!

EPiServer permissions in Java based system

Hi, Im trying to integrate a Java application and want to use permissions from EPiServer. Whar is the best practice for this? EPiServer users in system is mixed between regular network users and extranet users. I Guess that you can access the EPiServer database and get the information from there but is this the best way... // Björn
Jul 26, 2005 16:33
Hi there, I believe the best approach would be to call the Validate method in the Authenticate.asmx web service provided in all EPiServer sites. If the credentials validate against the EPiServer then you are returned the list of permissions the user has and groups the user is a member of. You could then use this as the basis for your security implementation in your Java application. The advantage of this is you are making use if the built in EPiServer functionality and if things change in future versions (e.g. the database) you would hope the Web service interface would remain the same. Cheers, Jeremy
Jul 27, 2005 10:41
Hi, how can I call the method from the webservice in a page? Let's say I create a 'regular' page. I then go to the code behind and include: using EPiServer; using EPiServer.Core; Should I include something else in my file? I want to be able to make like an object: Authenticate auth = new Authenticate(); auth.doSomething(); Is this possible? /Johan
Sep 06, 2005 10:45
Hi Johan! In visual studio you have the option to add a web reference when right clicking on a project. There is also a helper class called AuthenticateClient in the WebServices namespace that is usefull if you want to be able to define the website dynamicly.
Sep 22, 2005 17:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.