Class NoAuthorizationHandler

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String authorize​(javax.security.auth.Subject subject, java.net.InetSocketAddress local, java.net.InetSocketAddress remote, java.lang.String path, java.util.Map<java.lang.String,​java.lang.String> opaque, int request, XrootdProtocol.FilePerm mode)
      Authorization and path mapping hook.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoAuthorizationHandler

        public NoAuthorizationHandler()
    • Method Detail

      • authorize

        public java.lang.String authorize​(javax.security.auth.Subject subject,
                                          java.net.InetSocketAddress local,
                                          java.net.InetSocketAddress remote,
                                          java.lang.String path,
                                          java.util.Map<java.lang.String,​java.lang.String> opaque,
                                          int request,
                                          XrootdProtocol.FilePerm mode)
        Description copied from interface: AuthorizationHandler
        Authorization and path mapping hook. Called upon any xrootd door operation. Implementations may perform authorization checks for the requested operation.
        Specified by:
        authorize in interface AuthorizationHandler
        Parameters:
        subject - the user
        local - local socket address of client connection
        remote - remote socket address of client connection
        path - the file which is checked
        opaque - the opaque data from the request
        request - xrootd request id of the operation
        mode - the requested mode