Class NoAuthorizationHandler
- java.lang.Object
-
- org.dcache.xrootd.plugins.authz.none.NoAuthorizationHandler
-
- All Implemented Interfaces:
AuthorizationHandler
public class NoAuthorizationHandler extends java.lang.Object implements AuthorizationHandler
-
-
Constructor Summary
Constructors Constructor Description NoAuthorizationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringauthorize(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.
-
-
-
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:AuthorizationHandlerAuthorization and path mapping hook. Called upon any xrootd door operation. Implementations may perform authorization checks for the requested operation.- Specified by:
authorizein interfaceAuthorizationHandler- Parameters:
subject- the userlocal- local socket address of client connectionremote- remote socket address of client connectionpath- the file which is checkedopaque- the opaque data from the requestrequest- xrootd request id of the operationmode- the requested mode
-
-