Authentication for Spring Cloud Data Flow Server - ldap

I would like to add authentication to Spring Cloud Data Flow Server application. I see articles regarding Cloud Foundry UAA with LDAP support. I tried the basic authentication snippet as well which is not working.
I see lot of references to the link https://github.com/spring-cloud/spring-cloud-dataflow-samples/tree/master/security-ldap-uaa-example In that, the ldap server code is using Apache DSContainer which is deprecated and not working in my local. Is there any other approach? It's greatly appreciated if someone can provide a sample code for the same.

That's an old sample and apache DS is there for just having easy way to get a demo running without a read ldap server. With UAA ldap is fully behind it to store users.
UAA is not a most easiest system to setup but what comes for a config that would work as a starting point to configure it with any ldap server.

Related

Custom authentication in Impala (without kerberos/LDAP)

We have a big data cluster that we have created by directly installing the tarballs from Cloudera website. We are currently using (Hive, Impala, Hadoop, Spark, Kafka). In the current setup we don't have any authentication/authorization setup.
We are in the process of adding authentication/authorization however we decided to not use Kerberos to avoid the hassle of setting up a KDC server.
We were able to setup Sentry for authorization and for authentication we are using Hive Custom authentication where in we validate user credentials through an internal REST API as described here
We are trying to setup similar authentication mechanism for Impala however we have not been able to figure out a way to do Custom authentication in Impala.
Please let us know if apart from LDAP/Kerberos there is an alternative way to authenticate a user, something that is equivalent of Hive Custom authentication.

Switching from O365 basic authentication to modern authentication using powershell

I have a powershell script to get the audit logs of O365 tenants. Basically, this script will give me the users who is accessing the PowerBI platform, usability, memory consumption,etc. This is currently having the basic authentication. I need to convert the basic authentication to modern authentication in the current script. As per the current implementation,I see the registry key has been added as per the basic authentication.
I have googled and could see, I need to install the EXO V2 module and try using the Connect ExchangeOnline. But I am not sure of whether, i need to add the registry key for modern authentication? Also, it will be great if someone can help me with process flow of how to proceed in here. What are the steps , I need to follow to ensure that the modern authentication is working as expected. I have tried out all the options but I could not achieve the output. Please help me here as I am new to powerShell.

Set up openid-connect infrastructure

I am pretty new to Authorization/Authentication with openid connect. I guess I lack some basic understanding on how to set up a proper backend infrastructure.
There's a keycloak server running through which I want to authorize/authenticate my customers.
The user logs in by his company credentials and then should be authorized/authenticated against our backend service, which provides a REST-API.
So our part is to implement the backend service and use openid connect as authorization/authentication.
Could you tell me what components/software needs to be implemented on our side?
Often the Authorization Server is an external cloud system that your UIs and APIs just point to, with URLs equivalent to this:
https://api.mycompany.com/myapi
https://web.mycompany.app/myapp
https://login.mycompany.com
Not sure if this quite matches your setup but typically you provide some or all of these domains:
API
Web Hosting
Authorization Server (Keycloak)
My personal preference is to use Local Developer PC Domains to match the above. If it helps you might just be able to repoint my Open Id Connect
Code Sample to your infra once configured, in order to verify that it works.

SSO for web application hosted on S3

I have been scratching my head for a while now. Went through tons of documentations but everything seems very confusing. Please forgive if it appears to be a duplicate question, but believe me, the more content I find, the more its confusing me.
Below is the configuration of my project and what I need to achieve:
The project is a web based application developed using Spring framework with Java 8 that is hosted on S3(linux server). HTTP server used is Apache. JBoss is used as an application server and the exact version used is wildfly-8.2.0.Final.
Currently, the user enters his credentials which are validated against Microsoft Active directory using LDAP and is let in. The requirement now is that when the user logs into the machine using his AD credentials in his intranet environment, and he tries to open the application, he should directly log in and not prompted for credentials again. If he is outside his intranet network, the existing log in method should be followed.
While researching I found the below things I assume can be useful but not able to reach to a conclusion.
Kerberos along with Shibolleth: I went through below two references which somewhat matched with my requirement but not very sure am I looking at the right thing or not.
http://richardjohnson798.blogspot.in/2011/10/single-sign-on.html
http://gfivo.ncl.ac.uk/documents/UsingKerberosticketsfortrueSingleSignOn.pdf
My confusion revolves around the below things.
Is Shibolleth the right choice. If yes, what is the exact role of Shibboleth?
What things needs to be setup on the linux server(Kerberos implementation for example), and what changes would be needed in the client's AD environment?
Is the implementation possible on the Wildfly server? (as all the references have the thing implemented using Tomcat).
What are the security aspects I should be concerned about.
Help is much appreciated. Thank you.
Since you are using S3 I assume you are using AWS.
Go to IAM and add the Active Directory as a SAML provider
https://aws.amazon.com/blogs/mobile/announcing-saml-support-for-amazon-cognito/
Then use AWS Cognito Federated Identity Pool via the JavaScript SDK in the front end code you have hosted on S3.
http://docs.aws.amazon.com/cognito/latest/developerguide/using-amazon-cognito-user-identity-pools-javascript-examples.html

Using existing database table for OBIEE login authentication

We have a scenario where we have a java web application deployed at a weblogic instance and OBIEE in another. Now, what we want is to authenticate the OBIEE users from using our already existing user base from our webapp database table. I don't have much experience regarding OBIEE or weblogic server administration but by googling a little I have found that OBIEE by default uses the weblogic's embeded LDAP server for authenticating it's users. What we need is a way to configure obiee to use our existing database table users for authentication purpose. How do we achieve this? What are the necessary steps ? Do we need to create a custom weblogic authentication provider for this ? Any guidance is highly appreciated. Thanks in advance.
Database authentication is possible on OBIEE 11.1.1.5 and higher. I asume that you are good on that side.
Oracle documentation is quite good on this topic, you can check detailed scenario here
The basic idea is that you create a SQLAuthenticator that talks between a virtualised identity provider and your database where your users are defined.
It's important to notice that this method works with users/passwords defined in one of your tables and not with database accounts.
Good luck!
#adn.911,
After setting up your db authentication are you facing the login issue only on analytics or even on weblogic console and em?
If you are able to login to weblogic console but not to analytics, try setting the virtualize property to true and reset the BISystemUser password.