Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.bea.wsrp.consumer.resource
Interface ResourceConnectionFilter

    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>

See Also
  `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

### allowedURL

    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.

  Parameters
    `url` - resource URL as requested by the user agent
  Returns
    boolean

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2009, 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.