superset-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-superset] mmutiso commented on issue #7957: Authenticate Apache Superset webserver with Oracle Database users
Date Thu, 01 Aug 2019 11:41:03 GMT
mmutiso commented on issue #7957: Authenticate Apache Superset webserver with Oracle Database
users
URL: https://github.com/apache/incubator-superset/issues/7957#issuecomment-517247871
 
 
   This is possible with a little bit of code and configuration on your part. All you need
to do is extend the SupersetSecurityManager class as follows. 
   
   1. Create a superset class named CustomSecurityManager
   2. On the superset_config.py file import that class as shown in the image below.
   ![image](https://user-images.githubusercontent.com/6734562/62290289-ae478800-b469-11e9-9f4c-a01549b282aa.png)
   
   
   Override the AuthDBView to include your own implementation. 
   https://flask-appbuilder.readthedocs.io/en/latest/_modules/flask_appbuilder/security/views.html
   
   This medium link provides a good way to get started linking everything together. 
   https://medium.com/@sairamkrish/apache-superset-custom-authentication-and-integrate-with-other-micro-services-8217956273c1

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Mime
View raw message