All Examples Security Examples
This example implements the weblogic.security.net.ConnectionFilter interface. WebLogic Server calls the accept() method of the class after gathering information about the connection, including the remote IP address and port number, and the connection protocol (HTTP, HTTPS, T3, T3S, or IIOP). This information is passed to ConnectionFilter.accept() in a ConnectionEvent. accept() can allow the connection by simply returning, or deny the connection by throwing a FilterException.
$ javac -d $SERVER_CLASSES% *.java
weblogic.security.net.connectionFilter=\ examples.security.net.SimpleConnectionFilter
Watch the WebLogic Server log file for messages about denied connections.
All Examples Security Examples