com.ibm.wps.wsrp.consumer.security
Interface WSRPResourceURLFilterFactory


Deprecated. since 5.1.0.1. This plug-point for custom resource URL filters does not add additional value to security for access to served resources. Access to the WSRP resource proxy servlet should be secured and authenticated instead.

public interface WSRPResourceURLFilterFactory

This interface describes a factory which can be used to provide a java.io.Writer and java.io.Reader which are used to encode and decode resource URL's used by the WSRP consumer. The reader and writer implementation should be symmetric. This provides a plug-point for custom resource URL filters which can for example be used to encrypt and decrypt WSRP resource URL's.

Since:
5.1
Note:
This interface is designed to be implemented by clients.

Method Summary
 java.io.Reader getUrlFilterReader(java.io.Reader in)
          Deprecated. Get the Reader used to modify the characters passed to the Reader.
 java.io.Writer getUrlFilterWriter(java.io.Writer out)
          Deprecated. Get the java.io.Writer used to filter the passed Writer.
 

Method Detail

getUrlFilterWriter

java.io.Writer getUrlFilterWriter(java.io.Writer out)
Deprecated. 
Get the java.io.Writer used to filter the passed Writer. WSRP Resource URL's are written to that Writer. An implementation of this Writer could for example encrypt written resource URL's. It is important that writing to that Writer does not generate characters which are reserved in URI's. Please see RFC 2396 for a list of reserved URI characters.

Parameters:
out - The underlying character stream
Returns:
A java.io.Writer which is can be used to modify WSRP resource URL's written to it.

getUrlFilterReader

java.io.Reader getUrlFilterReader(java.io.Reader in)
Deprecated. 
Get the Reader used to modify the characters passed to the Reader. Requested WSRP Resource URL's are read from that Reader. An implementation of this Reader could for example decrypt WSRP resource URL's which have been encrypted using the above Writer.

Parameters:
out - The underlying character input stream
Returns:
A java.io.Reader which is used to modify WSRP resource URL's read from it.