My Requirement is to integrate Liferay 7 with Alfresco 5.2, using the Documents and Media portlet through Atom pub URL.
I am able to connect the ALfresco repository when the user log's in into Liferay from the Liferay login screen.
But when the NTLM authentication is enable in Liferay then I am not able to connect to Alfresco.
I have set the property session.store.password=true in portal-ext.properties.
Thanks,
The integration using a session stored password. When the user is logging in the portal over the login portlet it stores the plain text password into the session and then uses this information to access the Alfresco server.
You are skipping this step with NTLM. TO make the OOTB integration work you would need to populate the session with the required data but you can't do that as you don't have the plaintext password.
What is your use case? A possible hack/solution will depend on it.
Related
I have a ASP.net MVC EF 2.0 application, regular users use Windows authentication through AD. there are also some other sections (components) only allow Admin users to access such as special reports etc, so the site admin creates new Admin user and send an email with the temporary password (the admin user id will still use user's ID from Active directory), when the new Admin user receives the email and change the password, then he/she can log in the site through a login form, and after login, the new admin user can see more functions and reports to access, since the site form shows user id, I can see the admin's active directory id is showing in the sites. This is all how it works in ASP.net MVC EF 2.0.
But after we converted this site to ASP.net MVC EF 4.6, and run it in Integrated mode with Anonymous Authentication disabled, after Admin user login, the functions and reports to be accessed by Admin users are not available anymore (hidden), apparently, the Admin user are not be recognized even the ID field on view (form) is still showing admin user id of Active Directory.
Can anybody help me resolve this issue? Is this related to the conflicts of Windows Forms and Windows authentication as somebody mentioned in the internet? or it is related Windows authentication only? What is the standard way to build this kind application in MVC 4.6 framework? thanks in advance.
I'm developing an Android App with an ASP.NET Wep-API Backend. Currently i have problems with the Facebook login. I want to login the users with the FB Access Token i get by the Facebook Android SDK. Is this possible? I thought i read something about that this is possible without a workarround by directly post the token to the /signin-facebook endpoint, but i can't find that solution anymore. So here is my question:
Is it possible to login/register to an ASP.NET Web-API directly with the facebook token? Or do i have to implement a workaround?
Best regards
The Web API comes with OWIN which then allowing you to implement (or activate) Access token login. You need to register to Facebook developer in order to get the app Id and secret key.
You can install in your web api project using nuget:
Install-Package Microsoft.Owin.Security.Facebook -Version 2.1.0
More detail.. you can try follow the link here
While using Windows Organizational authentication in the ASP.net MVC project, I am unable to access the /Manager portion of PirahnaCMS. Whenever I attempt to login, it just redirects back to the login page. Is there a solution to this problem, or a workaround?
Someone asked this question, but no one posted a solution: How to get to Dashboard
Best Regards,
Saad
The Piranha CMS manager uses forms authentication. If you've configured another form of authentication in your main web.config the manager login won't work. In the upcoming version (2.3.0) the authentication mechanism will be replaceable, but in the current version the manager needs forms authentication.
You have two possible solutions:
1) Try configure the manager area to use Forms authentication by adding a separate web.config to this area.
2) Set the "front-application" to run in passive mode, i.e. disable the manager. Add a different web without the front-end and just the manager pointing to the same database.
Regards
HÃ¥kan
We're working on a development of a JBoss portal. As part of the functionality, we need to integrate it with Alfresco, using a portlet. Both (portal and Alfresco) will connect to the same LDAP directory to get the users, to guarantee that the same users can access to both systems. Right now that part of the implementation is not completed, so we have created the same users/password on both.
To present the content of Alfresco, we're using a Flexspaces portlet. When the page containing the portlet is loaded, a window appears requesting the login/password on Alfresco. After the login, the browser keeps track of the session.
Then, when the users logs out from the portal, we're experiencing problems, as the portlet is having some problems, like asking login (not on Flex, but on old-fashion javascript way), but not accepting it, and showing errors of "invalid Ticket"
As the portal knows the user that needs to be logged (and when it logs out) on the Alfresco system, what would it be the easiest way to make this integration? How can we communicate to the Flex to make login and logout from the portal?
Also, we're interested in knowing how to communicate from the portal to the flex, not just for this problem, but for further development.
I started a topic on the FlexSpaces forum on the alfresco forge to help you with this:
http://forge.alfresco.com/forum/forum.php?thread_id=1202&forum_id=534
If I am using Windows Authentication in an ASP.NET app, and I want to use custom roles instead of using Windows security groups as roles, do I need to write a custom Role provider? The solution needs to be able to map Windows users and groups to application specific roles.
If I understand your question - no you don't need to use roles from Active Directory security groups as roles for your ASP.NET application. And you dont need to implement a custom Role provider. The default one simply retrieves the Roles from the ASP.NET application database.
You can simply have application defined roles in this database, that you create with the aspnet_regsql.exe utility (in the .NET 2.0 framework folder).
Probably the greatest collections of resources/information on this topic:
http://weblogs.asp.net/scottgu/archive/2006/02/24/ASP.NET-2.0-Membership_2C00_-Roles_2C00_-Forms-Authentication_2C00_-and-Security-Resources-.aspx
Actually you CAN use the built in ASP.NET security configuration web site. You have to temporarily switch to Internet Mode, Then you can add users DOMAIN\username as username, enter some password (it won't be used once you switch back), you can then assign these to roles. Once you switch back to Windows mode these users will be used automatically.