|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.net.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(java.lang.String[] filterList)
Check the current rules. |
protected void |
checkRules(java.lang.String[] filterList,
java.util.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(java.lang.String whatever)
|
protected static int[] |
parseAddresses(java.lang.String str)
|
protected void |
parseLine(java.lang.String line,
java.util.Vector entries)
|
protected static int |
parseNetmask(java.lang.String maskStr)
|
protected static int |
parseProtocols(java.util.StringTokenizer toks)
|
protected static int |
parseSingleAddress(java.lang.String str)
|
static void |
setFilter(ConnectionFilter filter)
Deprecated. |
void |
setRules(java.lang.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(java.lang.String[] filterList) throws java.text.ParseException
is
- list of filter rules.protected void checkRules(java.lang.String[] filterList, java.util.Vector entries) throws java.text.ParseException
public void setRules(java.lang.String[] filterList) throws java.text.ParseException
is
- list of filter rules.public void accept(ConnectionEvent evt) throws FilterException
evt
- the connection eventprotected void parseLine(java.lang.String line, java.util.Vector entries) throws java.io.IOException, java.lang.IllegalArgumentException
protected static final int parseProtocols(java.util.StringTokenizer toks) throws FilterException
protected static final int[] parseAddresses(java.lang.String str) throws java.io.IOException
protected static final int parseSingleAddress(java.lang.String str) throws java.io.IOException
protected static final int parseNetmask(java.lang.String maskStr) throws java.io.IOException
protected static final boolean parseAction(java.lang.String whatever) throws java.io.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.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |