[search-guard group] How to integrate Search Guard with external authentication backend?

Implement com.floragunn.searchguard.auth.AuthenticationBackend

Example: https://github.com/floragunncom/search-guard-authbackend-ldap/blob/master/src/main/java/com/floragunn/dlic/auth/ldap/backend/LDAPAuthenticationBackend.java
or https://github.com/floragunncom/search-guard/blob/master/src/main/java/com/floragunn/searchguard/auth/internal/InternalAuthenticationBackend.java

Then in sg_config.yml you can use it in the following way:

      basic_myown_auth_domain:
        enabled: true
        order: 2
        http_authenticator:
          type: basic
          challenge: true
        authentication_backend:
          type: my.package.searchguard.auth.WebServiceAuthentication #this class must implement com.floragunn.searchguard.auth.AuthenticationBackend

···

Am 16.06.2016 um 12:08 schrieb hongdian.chen@kii.com:

Hi,

I'm interesting in adopting SearchGuard to secure ElasticSearch.

In addition, I'd like to do authentication through my own web service instead of using sg_internal_users.xml.

However, the document of sg_config.xml doesn't indicate how to achieve the purpose clearly and I didn't find any related tutorials.

Can someone guide me how to do it?

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/babbc9e8-c47b-45a3-a3a5-e33e3659bd45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.