Github user hayssams commented on the pull request:

    https://github.com/apache/incubator-zeppelin/pull/53#issuecomment-155153646
  
    Hello Jeff
    Yes websockets are secured. To get added to the user/websocket map, the 
client must provide the valid ticket. See code below:
          LOG.info("RECEIVE OP << " + messagereceived.op);
          LOG.info("RECEIVE PRINCIPAL << " + messagereceived.principal);
          LOG.info("RECEIVE TICKET << " + messagereceived.ticket);
          String ticket = 
TicketContainer.instance.getTicket(messagereceived.principal);
          if (ticket != null && !ticket.equals(messagereceived.ticket))
            throw new Exception("Invalid ticket " + messagereceived.ticket + " 
!= " + ticket);
    
          addConnectionToUserSocketMap(conn, messagereceived);
    
    
    Regarding Shiro / SSO, you'll find many integrations around. And yes it may 
be extended without code change to the Zeppelin code base.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to