org.apache.oltu.oauth2.rsfilter
Class OAuthFilter

java.lang.Object
  extended by org.apache.oltu.oauth2.rsfilter.OAuthFilter
All Implemented Interfaces:
javax.servlet.Filter

public class OAuthFilter
extends Object
implements javax.servlet.Filter


Field Summary
static String OAUTH_RS_PROVIDER_CLASS
           
static String RS_REALM
           
static String RS_REALM_DEFAULT
           
static String RS_TOKENS
           
static ParameterStyle RS_TOKENS_DEFAULT
           
 
Constructor Summary
OAuthFilter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)
           
 void init(javax.servlet.FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OAUTH_RS_PROVIDER_CLASS

public static final String OAUTH_RS_PROVIDER_CLASS
See Also:
Constant Field Values

RS_REALM

public static final String RS_REALM
See Also:
Constant Field Values

RS_REALM_DEFAULT

public static final String RS_REALM_DEFAULT
See Also:
Constant Field Values

RS_TOKENS

public static final String RS_TOKENS
See Also:
Constant Field Values

RS_TOKENS_DEFAULT

public static final ParameterStyle RS_TOKENS_DEFAULT
Constructor Detail

OAuthFilter

public OAuthFilter()
Method Detail

init

public void init(javax.servlet.FilterConfig filterConfig)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

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

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.