Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.security.net
Interface ConnectionFilterRulesListener

All Superinterfaces:
ConnectionFilter, EventListener
All Known Implementing Classes:
ConnectionFilterImpl

public interface ConnectionFilterRulesListener
extends ConnectionFilter

ConnectionFilterRulesListener interface. The server uses this interface to determine if the rules being specified in the console under the ConnectionFilterRules attribute are valid during startup and at runtime based on the setRules() and checkRules() methods. A user can optionally implement their own interface or just use the existing weblogic connection filter implementation which implements this interface already. This class is called weblogic.security.net.ConnectionFilterImpl .


Method Summary
 void checkRules(String[] filterList)
          The server uses this to dynamically check the rules when changes are made in the console for the connection filter rules under the ConnectionFilterRules attribute.
 void setRules(String[] filterList)
          The server uses this to dynamically set the rules that are specified in the console for the connection filter rules under the ConnectionFilterRules attribute.
 
Methods inherited from interface weblogic.security.net.ConnectionFilter
accept
 

Method Detail

checkRules

void checkRules(String[] filterList)
                throws ParseException
The server uses this to dynamically check the rules when changes are made in the console for the connection filter rules under the ConnectionFilterRules attribute.

Parameters:
filterList - the list of rules for a connection filter to check.
Throws:
ParseException - thrown if the rules are incorrect

setRules

void setRules(String[] filterList)
              throws ParseException
The server uses this to dynamically set the rules that are specified in the console for the connection filter rules under the ConnectionFilterRules attribute. The rules are first checked based on checkRules() interface and then are set based on setRules() if there are no ParseExceptions thrown.

Parameters:
filterList - the list of rules for a connection filter to check and then set.
Throws:
ParseException - thrown if the rules are incorrect

Copyright 1996, 2014, 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.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02