org.clazzes.remoting.beans
Interface BeanCallAuthManager
public interface BeanCallAuthManager
An implementation of this interface manages the authentication of
remote calls. This interface might be combined with the SessionManager
interface in order to authenticate against a pre-authenticated session.
- Author:
- wglas
Method Summary |
void |
authenticate(RemoteInvocation ri,
java.lang.reflect.Method method,
java.rmi.server.UID sessionId,
java.util.Map<java.lang.String,java.lang.Object> metadata)
Authenticate a remote call. |
authenticate
void authenticate(RemoteInvocation ri,
java.lang.reflect.Method method,
java.rmi.server.UID sessionId,
java.util.Map<java.lang.String,java.lang.Object> metadata)
throws java.lang.SecurityException
- Authenticate a remote call.
- Parameters:
ri
- The remote invocation to authenticate.method
- The local method to invoke. This might be used to search for
application-specific authentication annotations.sessionId
- The session ID as returned by Client.getClientUID()
.metadata
- The request metadata.
- Throws:
java.lang.SecurityException
- Upon authentication errors.
Copyright © 2010. All Rights Reserved.