Class SaslServerHandlerPlain

    • Constructor Detail

      • SaslServerHandlerPlain

        public SaslServerHandlerPlain​(java.lang.String serverName,
                                      AlluxioConfiguration conf,
                                      ImpersonationAuthenticator authenticator)
                               throws javax.security.sasl.SaslException
        Creates SaslServerHandler for Plain/Custom.
        Parameters:
        serverName - server name
        conf - Alluxio configuration
        authenticator - the impersonation authenticator
        Throws:
        javax.security.sasl.SaslException
    • Method Detail

      • setAuthenticatedUserInfo

        public void setAuthenticatedUserInfo​(AuthenticatedUserInfo userinfo)
        Description copied from interface: SaslServerHandler
        To be called by callbacks to store authenticated user information.
        Parameters:
        userinfo - user info
      • getAuthenticatedUserInfo

        public AuthenticatedUserInfo getAuthenticatedUserInfo()
        Description copied from interface: SaslServerHandler
        Used to get the authenticated user info after the completed session.
        Returns:
        the authenticated user info