nl.surfnet.coin.shindig.oauth
Class CoinVoFilter

java.lang.Object
  extended by org.apache.shindig.common.servlet.InjectedFilter
      extended by nl.surfnet.coin.shindig.oauth.CoinVoFilter
All Implemented Interfaces:
javax.servlet.Filter

public class CoinVoFilter
extends org.apache.shindig.common.servlet.InjectedFilter

Responsible for rewriting the URL: grabbing the vo part and turning this into a query parameter


Field Summary
 
Fields inherited from class org.apache.shindig.common.servlet.InjectedFilter
injector
 
Constructor Summary
CoinVoFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
static String getVirtualOrganizationContext()
          Non-idempotent getter for the VO context.
 
Methods inherited from class org.apache.shindig.common.servlet.InjectedFilter
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoinVoFilter

public CoinVoFilter()
Method Detail

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

destroy

public void destroy()

getVirtualOrganizationContext

public static String getVirtualOrganizationContext()
Non-idempotent getter for the VO context.

Returns:
the virtual organization name (if nay)


Copyright © 2007-2012. All Rights Reserved.