public interface AuthorizationHandler
| Modifier and Type | Method and Description |
|---|---|
String |
authorize(Subject subject,
InetSocketAddress localAddress,
InetSocketAddress remoteAddress,
String path,
Map<String,String> opaque,
int request,
XrootdProtocol.FilePerm mode)
Authorization and path mapping hook.
|
String authorize(Subject subject, InetSocketAddress localAddress, InetSocketAddress remoteAddress, String path, Map<String,String> opaque, int request, XrootdProtocol.FilePerm mode) throws XrootdException, SecurityException, GeneralSecurityException
subject - the userlocalAddress - local socket address of client connectionremoteAddress - 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 modeSecurityException - when the requested access is deniedGeneralSecurityException - when the process of
authorizing failsXrootdException - when some specific error should be propagated
back to the xrootd client.Copyright © 2011–2018 dCache.org. All rights reserved.