Liferay acess document library's resource remotly - liferay

I'm looking for accessing a resource in my document library remotly (via an Android app)
The resource is accessible for users with a given role.
So my question is how to access this resource remotly ?
I tried to pass credentials in my JSON call and implement a AutoLogin class but I can't create session remotly...
What's the right way to do this ?!
Thanks a lot !
EDIT: I'm on Liferay 6.1 CE GA3

You can visit this site click here , it has steps to how to create a session with liferay server and how to access data

Related

Why I cannot access admin page Orchard Core (error 404)?

I developped a website using Orchard Core CMS.
When I'm using my localhost I can access the default Admin Page to create blogs, articles etc.
But after using the 'publish' option on visual studio and put it on a server, I cannot access the default admin page anymore, I get a 404 error.
Can someone tell me why ?
Thanks
So it seems that you needed to create the table in your Database manually and add permission to IIS and Users on files/folders

How do we programmatically create Role, Permissions in Liferay for a User and Site Template?

As a programmer, I would like to create Role and Permissions in Liferay and assign it to a User and a Site template or site without the intervention of Liferay Admin.
Please help me with the code if anybody has already done it. I am using Liferay 6.1
Liferay Provides set of api for doing create user , roles etc . You could go through below api which will create user and role also assign respected association between user, site and roles
https://docs.liferay.com/portal/6.1/javadocs/com/liferay/portal/service/UserLocalServiceUtil.html
https://docs.liferay.com/portal/6.1/javadocs/com/liferay/portal/service/RoleLocalServiceUtil.html
Thanks

role based access control in node js

I am developing a web portal using Angular JS and node.js and I have been researching to find a library in node.js which provides role based access control.
All the libraries which are currently available such connect-roles, ACL etc provide page level authorization where you cannot access a particular path or URL based on your role.
Do we have any ready made options where in we can enable/disable a text box based on the role of the user? So my page page will be rendered to the user however some of the fields will be disabled based on the role of the user.
Thanks in advance.
You could give below a try
The above is part of ongoing Node.js boilerplate platform below
Nodejs_Postgresql_VanillaJS_Fastify

Removing User Profiles via UserProfileService

I can't seem to find an asmx that has a "Remove" User Profile method...the
UserProfileService has Create and Modify, but no Remove...where should I be
looking to programattically remove a user profile via an WSS WebService?
Please advise.
You appear to be correct:
http://msdn.microsoft.com/en-us/library/websvcuserprofileservice.userprofileservice_methods.aspx
You would however be able to do this from code that uses the server object model.
There is no out of the box web service to delete/remove profiles. We had to create a custom web service deployed to the 12/ISAPI folder (where the OOTB web services are), that took a username as a parameter and called the sharepoint API to then remove the profile.

How to use smart part in Form based authentication site in sharepoint

I have a site created in share point (WSS 3.0) which use Form based authentication. I have written a user control and I am trying to use it with the help of SmartPart, But it is giving me error saying that "can not access the path C:\Inetpub\wwwroot\wss\VirtualDirectories\5353\UserControls\". This is working file in windows authentication site. Please help me to solve this problem...
Thanks in advance!
Could you check to see if the account the app pool for your site is ran under has access to that path.

Resources