Package org.dcache.xrootd.core
Class XrootdAuthorizationHandlerFactory
- java.lang.Object
-
- org.dcache.xrootd.core.XrootdAuthorizationHandlerFactory
-
- All Implemented Interfaces:
ChannelHandlerFactory
public class XrootdAuthorizationHandlerFactory extends java.lang.Object implements ChannelHandlerFactory
-
-
Constructor Summary
Constructors Constructor Description XrootdAuthorizationHandlerFactory(AuthorizationFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.channel.ChannelHandlercreateHandler()Creates a new channel handler.java.lang.StringgetDescription()Returns a human readable description of the channel handler plugin.java.lang.StringgetName()Returns the name under which this plugin can be loaded.
-
-
-
Constructor Detail
-
XrootdAuthorizationHandlerFactory
public XrootdAuthorizationHandlerFactory(AuthorizationFactory factory)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ChannelHandlerFactoryReturns the name under which this plugin can be loaded.- Specified by:
getNamein interfaceChannelHandlerFactory
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ChannelHandlerFactoryReturns a human readable description of the channel handler plugin.- Specified by:
getDescriptionin interfaceChannelHandlerFactory
-
createHandler
public io.netty.channel.ChannelHandler createHandler()
Description copied from interface:ChannelHandlerFactoryCreates a new channel handler. The channel handler is only valid for a single connection.- Specified by:
createHandlerin interfaceChannelHandlerFactory- Returns:
- the new channel handler instance
-
-