Interface TokenValidator


  • public interface TokenValidator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TOKEN_PREFIX
      By convention, the token can be prefixed in the path URL by this tag, which should be stripped away before processing.
    • Field Detail

      • TOKEN_PREFIX

        static final java.lang.String TOKEN_PREFIX
        By convention, the token can be prefixed in the path URL by this tag, which should be stripped away before processing.
        See Also:
        Constant Field Values
    • Method Detail

      • validate

        void validate​(io.netty.channel.ChannelHandlerContext ctx,
                      java.lang.String token)
               throws XrootdException
        Handles the implementation-specific authorization procedure.
        Parameters:
        ctx - of the current channel
        token - passed into the authorization handler
        Throws:
        XrootdException