|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AcceptPolicy
Defines the rules that determine whether a connection should be accepted or rejected based exclusively on the initial connection parameters.
Accept policies allow rejection of incoming connections based on IP address (creating white and black lists), time of day, rate, etc. without any knowledge of the underlying protocol. In most cases, a simple white/black list of IP addresses in the global policy is sufficient.
Method Summary | |
---|---|
boolean |
evaluate(Connection connection)
Evaluate if the given connection should be accepted or rejected. |
Method Detail |
---|
boolean evaluate(Connection connection)
Evaluate if the given connection should be accepted or rejected.
For AcceptPorts the accept policy should examine it's rules for accepting and declining. If there is no corresponding rule the global accept policy should be applied. If no rules for the global accept policy apply, the connection should be rejected.
connection
- the connection to evaluate.
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |