Package org.eclipse.ecf.core.security
Interface IConnectHandlerPolicy
-
- All Superinterfaces:
IContainerPolicy
public interface IConnectHandlerPolicy extends IContainerPolicy
Connect policy typically implemented by servers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermissionCollectioncheckConnect(Object address, ID fromID, ID targetID, String targetGroup, Object connectData)Check connect request-
Methods inherited from interface org.eclipse.ecf.core.security.IContainerPolicy
refresh
-
-
-
-
Method Detail
-
checkConnect
PermissionCollection checkConnect(Object address, ID fromID, ID targetID, String targetGroup, Object connectData) throws Exception
Check connect request- Parameters:
address- the address for the remote clientfromID- the ID of the container making the connect requesttargetID- the ID of the container responding to that connect requesttargetGroup- the target name of the group that is being connected toconnectData- arbitrary data associated with the join request- Returns:
- PermissionCollection a collection of permissions associated with a successful acceptance of join request
- Throws:
Exception- thrown if connect should not be allowed
-
-