Sadly it was not documented in Spray it seems:
http://spray.io/documentation/1.2.2/spray-routing/security-directives/authenticate/#from-ldap

I think we may end up pulling it in, but can not make any guarantees about that.
First we'll have to investigate if the code is good / safe and if it would be 
maintainable.

Help from the community to maintain the LDAP integration would be awesome, 
anyone interested?

-- 
Cheers,
Konrad `ktoso` Malawski
Akka @ Typesafe

On 17 September 2015 at 15:20:41, Konrad Malawski ([email protected]) wrote:

Hi Rahul,
good catch, that directive has not been ported yet.
We're thinking if it should reside in core akka or as an external library, 
here's the ticket about it:
https://github.com/akka/akka/issues/18472

You could for now simply re-use the spray one (should be copy-paste-able):
https://github.com/spray/spray/blob/master/spray-routing/src/main/scala/spray/routing/authentication/LdapAuthenticator.scala#L39

While we decide where to put it for Akka Http.

On Mon, Sep 14, 2015 at 12:11 PM, Rahul Singhai <[email protected]> wrote:
Hi,

I am trying to implement authentication mechanism in Akka HTTP (v1.0-M5).
Do you guys know if LDAP authentication directives are available?
Is HTTPBasicAuthentication only available right now?

Rahul 


On Sunday, 19 April 2015 13:52:17 UTC+1, Jason Bass wrote:
Spray provided an authenticate directive that could be used for HTTP 
authentication.  That directive appears to have been dropped in Akka HTTP (I'm 
using v1.0-M5).  I'm curious whether the directive will find its way into the 
final release or whether there is an alternate method to facilitate 
authentication.  Thanks,

Jason
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.



--
Cheers,
Konrad 'ktoso' Malawski
Akka @ Typesafe

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to