|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceConnectionFilter
The purpose of a connection filter is to let the consumer determine whether a given resource should be served to user agents or not.
You can specify an implementation of this filter by updating the init-parameter of the
servlet ResourceProxyServlet
. For example,
<init-param> <!-- Specify a connection filter that will allow/disallow resources. --> <param-name>resourceConnectionFilter</param-name> <param-value>com.bea.wsrp.consumer.resource.DefaultResourceConnectionFilter</param-value> </init-param>
DefaultResourceConnectionFilter
Method Summary | |
---|---|
boolean |
allowedURL(String url)
This method is used by the ResourceProxyServlet to determine whether it is allowed to access a given resource URL. |
Method Detail |
---|
boolean allowedURL(String url)
This method is used by the ResourceProxyServlet to determine whether it is allowed to access a given resource URL.
If this method returns false, the Consumer will return a response code 401 to the user agent.
url
- resource URL as requested by the user agent
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |