|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionFilter
Connection filter interface. The server uses this interface to determine whether incoming connections from clients should be allowed.
To program the server to perform connection filtering, set the weblogic.security.net.connectionFilter property to the name of a class that implements this interface. The class that implements this interface must have a public no-arg constructor.
The connection filter is not called immediately when a client connects to the server. Rather, it is called after the client has sent enough bytes for the server to determine what protocol the client is using. The login timeout and protocol mechanisms will deal correctly with clients that do not send enough bytes to determine the client's protocol.
Method Summary | |
---|---|
void |
accept(ConnectionEvent evt)
Accept or deny an incoming connection from a client. |
Method Detail |
---|
void accept(ConnectionEvent evt) throws FilterException
evt
- the connection event describing a connection to filter
FilterException
- thrown if the client's connection is
to be rejected
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |