public interface IConnectHandlerPolicy extends IContainerPolicy
Modifier and Type | Method and Description |
---|---|
java.security.PermissionCollection |
checkConnect(java.lang.Object address,
ID fromID,
ID targetID,
java.lang.String targetGroup,
java.lang.Object connectData)
Check connect request
|
refresh
java.security.PermissionCollection checkConnect(java.lang.Object address, ID fromID, ID targetID, java.lang.String targetGroup, java.lang.Object connectData) throws java.lang.Exception
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 requestjava.lang.Exception
- thrown if connect should not be allowed