|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.net.ConnectionFilterImpl
public class ConnectionFilterImpl
Default connection filter implementation. This class accepts all incoming connections and also provides static factory methods that allow the server to obtain the current connection filter.
Constructor Summary | |
---|---|
ConnectionFilterImpl()
Public no-arg constructor. |
Method Summary | |
---|---|
void |
accept(ConnectionEvent evt)
Filters a client connection event. |
void |
checkRules(String[] filterList)
Check the current rules. |
protected void |
checkRules(String[] filterList,
Vector entries)
|
static boolean |
filterEnabled()
Indicate whether the connection filter is enabled in this server. |
static ConnectionFilter |
getFilter()
Return the current server-wide connection filter in use, if any. |
protected static boolean |
parseAction(String whatever)
|
protected static int[] |
parseAddresses(String str)
|
protected void |
parseLine(String line,
Vector entries)
|
protected static int |
parseNetmask(String maskStr)
|
protected static int |
parseProtocols(StringTokenizer toks)
|
protected static int |
parseSingleAddress(String str)
|
static void |
setFilter(ConnectionFilter filter)
Deprecated. |
void |
setRules(String[] filterList)
Set and check the current rules. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionFilterImpl()
Method Detail |
---|
public void checkRules(String[] filterList) throws ParseException
checkRules
in interface ConnectionFilterRulesListener
filterList
- list of filter rules.
ParseException
- a problem occurred while reading the rules.protected void checkRules(String[] filterList, Vector entries) throws ParseException
ParseException
public void setRules(String[] filterList) throws ParseException
setRules
in interface ConnectionFilterRulesListener
filterList
- list of filter rules.
ParseException
- a problem occurred while reading the rules.public void accept(ConnectionEvent evt) throws FilterException
accept
in interface ConnectionFilter
evt
- the connection event
FilterException
- the connection should be rejected by
the serverprotected void parseLine(String line, Vector entries) throws IOException, IllegalArgumentException
IOException
IllegalArgumentException
protected static final int parseProtocols(StringTokenizer toks) throws FilterException
FilterException
protected static final int[] parseAddresses(String str) throws IOException
IOException
protected static final int parseSingleAddress(String str) throws IOException
IOException
protected static final int parseNetmask(String maskStr) throws IOException
IOException
protected static final boolean parseAction(String whatever) throws IOException
IOException
public static final boolean filterEnabled()
public static final ConnectionFilter getFilter()
public static final void setFilter(ConnectionFilter filter)
This method is deprecated. Use the ConnectionFilter attribute on the SecurityMBean instead. Any filter set through this method will not be reflected in the console.
|
Copyright 1996, 2010, 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 Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |