Package org.dcache.xrootd.plugins
Interface AuthorizationFactory
-
- All Known Implementing Classes:
NoAuthorizationFactory
public interface AuthorizationFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationHandlercreateHandler(io.netty.channel.ChannelHandlerContext ctx)Creates a new authorization handler.java.lang.StringgetDescription()Returns a human readable description of the authorization plugin.java.lang.StringgetName()Returns the name under which this plugin can be loaded.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name under which this plugin can be loaded.
-
getDescription
java.lang.String getDescription()
Returns a human readable description of the authorization plugin.
-
createHandler
AuthorizationHandler createHandler(io.netty.channel.ChannelHandlerContext ctx)
Creates a new authorization handler. The authorization handler is only valid for a single request.- Parameters:
ctx- channel handler context- Returns:
- the new authorization handler instance
-
-