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 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 modeAccessControlException - when the requested access is
deniedGeneralSecurityException - when the process of
authorizing failsSecurityExceptionCopyright © 2013 dCache.org. All rights reserved.