Tabnine Logo
XssFilter.getInstance
Code IndexAdd Tabnine to your IDE (free)

How to use
getInstance
method
in
com.nhncorp.lucy.security.xss.XssFilter

Best Java code snippets using com.nhncorp.lucy.security.xss.XssFilter.getInstance (Showing top 4 results out of 315)

origin: com.navercorp.lucy/lucy-xss

/**
 * 이 메소드는 XssFilter 객체를 리턴한다.
 *
 * @return XssFilter 객체
 * @throws XssFilterException
 *             {@code "lucy-xss.xml"} 로딩 실패 시 발생(malformed인 경우).
 */
public static XssFilter getInstance() throws XssFilterException {
  return getInstance(CONFIG, false);
}
origin: com.navercorp.lucy/lucy-xss

public static XssFilter getInstance(boolean withoutComment) throws XssFilterException {
  return getInstance(CONFIG, withoutComment);
}
origin: com.navercorp.lucy/lucy-xss

public static XssFilter getInstance(String fileName) throws XssFilterException {
  return getInstance(fileName, false);
}
origin: naver/lucy-xss-servlet-filter

/**
 * @param values String[]
 * @return void
 */
@Override
public void init(String[] values) {
  if (values == null || values.length == 0) {
    filter = XssFilter.getInstance();
  } else {
    switch (values.length) {
      case 1:
        if (isBoolean(values[0])) {
          filter = XssFilter.getInstance(convertBoolean(values[0]));	
        } else {
          filter = XssFilter.getInstance(values[0]);
        }
        break;
      case 2:
        filter = XssFilter.getInstance(values[0], convertBoolean(values[1]));	
        break;
      default:
        filter = null;
        break;
    }
  }
}
com.nhncorp.lucy.security.xssXssFiltergetInstance

Javadoc

이 메소드는 XssFilter 객체를 리턴한다.

Popular methods of XssFilter

  • doFilter
    이 메소드는 특정 Tag 내 특정 Attribute의 값에 삽입되는 XSS( Cross Site Scripting)이 포함된 위험한 코드를 신뢰할 수 있는 코드로 변환하거나, 삭제
  • <init>
  • checkRule
  • checkRuleRemove
  • getCommentFilterInstance
    이 메소드는 주석 내 태그 필터링을 위한 XssFilter 객체를 리턴한다.
  • serialize

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Socket (java.net)
    Provides a client-side TCP socket.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now