nl.surfnet.coin.shindig.oauth
Class CoinVoFilter
java.lang.Object
org.apache.shindig.common.servlet.InjectedFilter
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
| Fields inherited from class org.apache.shindig.common.servlet.InjectedFilter |
injector |
| 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 |
CoinVoFilter
public CoinVoFilter()
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.