public interface RpcAuthenticator
Provides authentication support for ONC/RPC requests.
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticateRpcClient(int authType,
RpcPacket rpc)
Authenticate an RPC client using the credentials within the RPC request.
|
int[] |
getRpcAuthenticationTypes()
Return a list of the authentication types that the RPC authenticator implementation supports.
|
ClientInfo |
getRpcClientInformation(Object sessKey,
RpcPacket rpc)
Get RPC client information from the RPC request.
|
void |
initialize(ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the RPC authenticator
|
void |
setCurrentUser(SrvSession sess,
ClientInfo client)
Set the current authenticated user context for processing of the current RPC request
|
void initialize(ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
config - ServerConfigurationparams - ConfigElementInvalidConfigurationExceptionObject authenticateRpcClient(int authType, RpcPacket rpc) throws RpcAuthenticationException
authType - intrpc - RpcPacketRpcAuthenticationExceptionClientInfo getRpcClientInformation(Object sessKey, RpcPacket rpc)
This method is called when a new session object is created by an RPC server.
sessKey - Objectrpc - RpcPacketint[] getRpcAuthenticationTypes()
void setCurrentUser(SrvSession sess, ClientInfo client)
sess - SrvSessionclient - ClientInfoCopyright © 2005–2014 Alfresco Software. All rights reserved.