exoPlatform, where to add LDAP functionality - maven

I'm trying to understand how to implement the LDAP functionality with exoPlatform. I think the documentation is quite extensive but I really don't understand how to get started.
I launched my docker images, exo and mySQL, thanks to this tutorial and I can access the exoPlatform homepage.
However, about the LDAP extension, I clearly don't know where to integrate the config files specified. Is it in the exo docker?

Related

Where to begin with WebDAV, Cloud storage, and Laravel

Is it possible to give users the ability to remotely edit documents that are stored in the cloud storage of my web application?
I know that with the webdav, you can remotely open and edit ms-office documents on the local machine and save files back to the cloud storage. I want to add this feature on my laravel web-application and i cant find the solution.
I heard about ITHit Webdav Library and i need something like this.
Do I need my own webdav server for this?
Are there any free solutions or libraries for this?
I use minio as cloud storage, can this library help me?
I need at least some guidance for this. Thank you very much in advance.
To answer your questions:
Yes, you need your own WebDAV server, cloud storage providers typically don't have this built-in.
The most popular library for PHP would be sabre/dav
It does not matter which cloud storage provider you use, with WebDAV it will work for most (if not all) and will definitely work with Minio. As for my recommended package, see above.
ITHit WebDAV Library is a commercial library and you should stick with open-source in my opinion.
Implementing it into Laravel would be quite opinionated, but doing so ultimately depends on what you need to achieve from a user experience and functionality perspective.
There is nothing simple about the road you're travelling and it is quite complex.

Question about deploying a Shopify app to Heroku

I have question about Shopify app development and the deployment process.
I've used the getting started guide here, and I have an app that works fine when I use npm run dev and view the app in the store admin.
However, of course, once I stop the server from running, the app is no longer accessible.
I believe I need to deploy the app to Heroku (or something similar) in order to have it work in a non-development environment.
It doesn't seem like there is much guidance online from Shopify about the best way to go about this.
Does anyone know what steps I need to take in order to deploy my app to Heroku, so that I can use the app in by test store on another device?
It seems like every guide online stops JUST BEFORE explaining this process and I can't figure out why! I have tried everything online but nothing has worked:
Adding the code to Github and connecting it to Heroku
Using Docker
Any help is appreciated. Thank you!
You have zero obligations to use Heroku. If you have an IP address dedicated to your house, you could host the App using your house. If you co-locate your own server at an Internet business, and they give you IP addresses you can use that. If you wanted to use Amazon directly, you could use EC2. If you wanted to use Linode, or Azure, or any other cloud service, feel free! It is up to you!
Using Heroku (built on AWS) is traditional only in the sense that it is the original easy peasy hosting in the cloud service. Play with Heroku by reading Heroku-specific documentation or hosting information. This has nothing to do with Shopify. Shopify only mentions Heroku because traditionally, developers used it. No other reason.
If you want to learn how to use Heroku, 100% there are blog posts within easy reach for you to study and learn from.

How to use Laravel Socialite with Laravel Spark

Is it possible to use Laravel Spark on a site where logins are controlled via Laravel Socialite? The documentation doesn't make this immediately clear to me. I understand I wouldn't be able to utilize the 2-factor authentication. Without access to the source code I can't scope out the difficulty, so I'm hoping someone who's used it can assist in answering this.
First
Laravel Spark is not meant something to integrate with an existing project. Its something to start with it, which save your time so don't 've to integrate common things and quickly implement / integrate / enhance your custom business / application requirements. Visit https://spark.laravel.com/ to check what you'll get ready made when start with Spark.
Here's what the official website says.
Spark provides the perfect starting point for your next big idea.
Forget all the boilerplate and focus on what matters: your application
Second
Spark is not free, You need to buy subscription key "Spark API token" which will lead you to install / use speak and start modify that for your business needs.
However
If your application already build on Spark and you are looking for features that offer by new version of spark, you might need to upgrade your Spark. You can check your Spark version by php artisan spark:version command
Updating might break your application, you need to be always careful
and follow the official guide and do backup.
Using Laravel Socialite with spark
You should be able to integrate socialite on your laravel application build on spark if that's your application business case or application requirement like any other requirements. This might be tricky to enhance the spark authentication code or follow spark approach to implement features. If you are a paid customer of spark you can ask for support. And to scope out difficulty you can go through the comments of this post https://laracasts.com/discuss/channels/spark/integrating-socialite-with-spark , it seems devs are already trying to integrate those.
Spark and the 2-factor authentication issue
I seems that spark latest version already integrate two factor authentication support. Here some text form official doc
Spark makes it simple to offer two-factor authentication to your
users. Two-factor authentication provides your users additional
account security by requiring them to provide a token during login in
addition to their username and password. This token is generally
retrieved from an application or SMS on their cellphone. Read more on that https://spark.laravel.com/docs/6.0/two-factor
Finally
Here's a screencast for a quick overview of what Spark is https://laracasts.com/series/laravel-spark/episodes/1
Hope That Helps

Is there any build-in way to take advantage of "tomcat-users.xml" from external server?

I am trying to find out if there is any build-in option on Tomcat to use it's authentication credentials from remote server?
We build some application based on Spring Boot and that application should use authentication based on the credentials configured on another Tomcat server. Ideally I think about some kind of Web Service for the authentication which Tomcat may provide, but as far as I remember there is nothing like that available. Any thoughts on that?
Please don't advise LDAP or dedicated solutions - I can't use them on that particular case.
Thanks!
The components in Tomcat that authenticate users are called Realm, and there's quite a lot of them already implemented. You can find an overview of them, what they do and how to configure them on the Realm documentation page.
Check if any of the other existing ones (some access a database, which might qualify as an external server in your usecase - you judge that for yourself) will suit your needs.
You can even find a realm for LDAP in there if that will ever become an option ;)

Build simple Vertx web server in multi Server

I'm a newbie in Vert.x and have many issue with it. There is a litle document and tutorial about it
I want to build an web service running in multi server by Vert.x. And if I do that, do I need to config anything, such as DNS...? Anyone has document about Vert.x, please share
This is a very broad and vague question, not really suited to stack exchange. However there are website tutorials available for a number of languages at http://vertxio-hornmicro.rhcloud.com/tutorials.html.
Regarding, DNS etc. I would need to know more about your setup, if you just want to develop something locally try one of the tutorials on the above link.

Resources