Class Authentication


  • public class Authentication
    extends java.lang.Object
    Handler that when added will make sure authentication is applied to requests.
    Since:
    9.0
    Author:
    wburns
    • Constructor Detail

      • Authentication

        public Authentication​(io.netty.channel.Channel channel,
                              HotRodServer server)
    • Method Detail

      • authMechList

        public void authMechList​(HotRodHeader header)
      • auth

        public void auth​(HotRodHeader header,
                         java.lang.String mech,
                         byte[] response)
                  throws java.security.PrivilegedActionException,
                         javax.security.sasl.SaslException
        Throws:
        java.security.PrivilegedActionException
        javax.security.sasl.SaslException
      • getSubject

        public javax.security.auth.Subject getSubject​(HotRodOperation operation)
      • getSubject

        public javax.security.auth.Subject getSubject​(boolean authenticatedOperation)