com.atlassian.plugins.rest.common.security.jersey
Class XsrfResourceFilterFactory

java.lang.Object
  extended by com.atlassian.plugins.rest.common.security.jersey.XsrfResourceFilterFactory
All Implemented Interfaces:
com.sun.jersey.spi.container.ResourceFilterFactory

@Provider
public class XsrfResourceFilterFactory
extends java.lang.Object
implements com.sun.jersey.spi.container.ResourceFilterFactory

Factory for the XSRF resource filter

Since:
2.4

Constructor Summary
XsrfResourceFilterFactory(com.atlassian.sal.api.web.context.HttpContext httpContext, com.atlassian.sal.api.xsrf.XsrfTokenValidator xsrfTokenValidator)
           
 
Method Summary
 java.util.List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XsrfResourceFilterFactory

public XsrfResourceFilterFactory(com.atlassian.sal.api.web.context.HttpContext httpContext,
                                 com.atlassian.sal.api.xsrf.XsrfTokenValidator xsrfTokenValidator)
Method Detail

create

public java.util.List<com.sun.jersey.spi.container.ResourceFilter> create(com.sun.jersey.api.model.AbstractMethod method)
Specified by:
create in interface com.sun.jersey.spi.container.ResourceFilterFactory


Copyright © 2014 Atlassian. All Rights Reserved.