Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 6.0sp2 API Reference

## weblogic.security.net
Interface ConnectionFilter

All Known Implementing Classes:
  ConnectionFilterImpl

public interface ConnectionFilter
extends java.util.EventListener

Connection filter interface. This interface is used by the server to determine whether it should allow or reject incoming connections from clients.

You can make the server perform connection filtering by setting the `weblogic.security.net.connectionFilter` property to the name of a class that implements this interface. That class must have a public no-arg constructor.

The connection filter is not called immediately when a client connects to the server. 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 get this far.

Author:
  Copyright (c) 1999-2000 by BEA Systems, Inc. All Rights Reserved.
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
`void` | `accept(ConnectionEvent evt)` Accept or deny an incoming connection from a client.

Method Detail

### accept

    public void accept(ConnectionEvent evt)
                throws FilterException

  Accept or deny an incoming connection from a client. If the connection is to be accepted, this method returns normally. Otherwise, it throws a FilterException, which may describe why the client's connection was rejected.

  Parameters:
    `evt` - the connection event describing a connection to filter
  Throws:
    FilterException - thrown if the client's connection is to be rejected

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs60
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD