net.geant.edugain.attributes
Class RequestContext

java.lang.Object
  extended by net.geant.edugain.attributes.RequestContext

public class RequestContext
extends java.lang.Object

Wrapper class for all request-related data. Each request containes the input and the output attributes, and remote / local bridging element provider id.

Author:
Adam Lantos

Field Summary
private  AttributeSet filterWorkAttributeSet
          Containes attributes which are used by filters.
private  AttributeSet inputAttributeSet
          The input attributes of this request.
private  java.lang.String localProvider
          The 'local' peer provider identifier (from the local federation).
private  AttributeSet outputAttributeSet
          The output attributes of this request.
private  java.lang.String remoteProvider
          The 'remote' peer provider identifier (from the remote federation).
 
Constructor Summary
RequestContext(AttributeSet inputAttributeSet, AttributeSet outputAttributeSet, java.lang.String remoteProvider, java.lang.String localProvider)
          Creates a new RequestContext for the request.
 
Method Summary
 AttributeSet getFilterWorkAttributeSet()
          Returns the denied attribute set within this request.
 AttributeSet getInputAttributeSet()
          Returns the input attribute set associated with the request.
 java.lang.String getLocalProvider()
          Returns the local provider id.
 AttributeSet getOutputAttributeSet()
          Returns the output attribute set associated with this request.
 java.lang.String getRemoteProvider()
          Returns the remote provider id.
 void setFilterWorkAttributeSet(AttributeSet filterWorkAttributeSet)
          Sets the filter work attributeset and associate with the request.
 void setInputAttributeSet(AttributeSet inputAttributeSet)
          Sets the input attribute set associated with the request.
 void setLocalProvider(java.lang.String localProvider)
          Sets the local provider id.
 void setOutputAttributeSet(AttributeSet outputAttributeSet)
          Sets the output attribute set associated with this request.
 void setRemoteProvider(java.lang.String remoteProvider)
          Sets the remote provider id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputAttributeSet

private AttributeSet inputAttributeSet
The input attributes of this request.


outputAttributeSet

private AttributeSet outputAttributeSet
The output attributes of this request.


filterWorkAttributeSet

private AttributeSet filterWorkAttributeSet
Containes attributes which are used by filters.


remoteProvider

private java.lang.String remoteProvider
The 'remote' peer provider identifier (from the remote federation).


localProvider

private java.lang.String localProvider
The 'local' peer provider identifier (from the local federation).

Constructor Detail

RequestContext

public RequestContext(AttributeSet inputAttributeSet,
                      AttributeSet outputAttributeSet,
                      java.lang.String remoteProvider,
                      java.lang.String localProvider)
Creates a new RequestContext for the request.

Parameters:
inputAttributeSet -
outputAttributeSet -
remoteProvider - String remote federation peer provider id
localProvider - String local federation peer provider id
Method Detail

getInputAttributeSet

public AttributeSet getInputAttributeSet()
Returns the input attribute set associated with the request.

Returns:

setInputAttributeSet

public void setInputAttributeSet(AttributeSet inputAttributeSet)
Sets the input attribute set associated with the request.

Parameters:
inputAttributeSet -

getFilterWorkAttributeSet

public AttributeSet getFilterWorkAttributeSet()
Returns the denied attribute set within this request.

Returns:

setFilterWorkAttributeSet

public void setFilterWorkAttributeSet(AttributeSet filterWorkAttributeSet)
Sets the filter work attributeset and associate with the request.

Parameters:
filterWorkAttributeSet -

getLocalProvider

public java.lang.String getLocalProvider()
Returns the local provider id.

Returns:

setLocalProvider

public void setLocalProvider(java.lang.String localProvider)
Sets the local provider id.

Parameters:
localProvider -

getOutputAttributeSet

public AttributeSet getOutputAttributeSet()
Returns the output attribute set associated with this request.

Returns:

setOutputAttributeSet

public void setOutputAttributeSet(AttributeSet outputAttributeSet)
Sets the output attribute set associated with this request.

Parameters:
outputAttributeSet -

getRemoteProvider

public java.lang.String getRemoteProvider()
Returns the remote provider id.

Returns:

setRemoteProvider

public void setRemoteProvider(java.lang.String remoteProvider)
Sets the remote provider id.

Parameters:
remoteProvider -