@InterfaceAudience.Private public class ProxyUserService extends BaseService implements ProxyUser
Modifier and Type | Class and Description |
---|---|
static class |
ProxyUserService.ERROR |
Constructor and Description |
---|
ProxyUserService() |
Modifier and Type | Method and Description |
---|---|
Class |
getInterface()
Returns the interface implemented by this service.
|
Class[] |
getServiceDependencies()
Returns the service dependencies of this service.
|
protected void |
init()
Initializes the server.
|
void |
validate(String proxyUser,
String proxyHost,
String doAsUser) |
destroy, getPrefix, getPrefixedName, getServer, getServiceConfig, init, postInit, serverStatusChange
public Class getInterface()
Service
Server
when the Server.get(Class)
method is used to
retrieve a service.getInterface
in interface Service
public Class[] getServiceDependencies()
BaseService
getServiceDependencies
in interface Service
getServiceDependencies
in class BaseService
protected void init() throws ServiceException
BaseService
BaseService.init(Server)
after all service properties
(properties prefixed withinit
in class BaseService
ServiceException
- thrown if the service could not be initialized.public void validate(String proxyUser, String proxyHost, String doAsUser) throws IOException, AccessControlException
validate
in interface ProxyUser
IOException
AccessControlException
Copyright © 2013 Apache Software Foundation. All rights reserved.