Hi,I'm looking for a custom authentication solution in Knox for our 
use-case.Let me explain the use case:For us, authentication related information 
are passed as following custom HTTP headers:    a) X-Auth-Token :  Client gets  
the encoded token after making some internal service call. Knox server needs to 
retrieve this token from header and invokes a method to authenticate the token  
  b) X-Auth-User-Email :  Client provides the actual user email address. Server 
needs to parse to get the effective user id.    c) X-Auth-Source : The client's 
name for internal purpose

Based on Larry's suggestion, I started with pre-auth-header for mainly b) and 
c). I also configured identity-assertion to parse the email address to get the 
user name.    
However, our network is not secured or isolated. So pre-auth is not going to 
work in its form. That's why, we include Auth-token(a) in header. My question 
is how to add my custom code to authenticate  the Auth-Token passed in the 
header by client. Is there any example?
Regards,Mohammad 

Reply via email to