Enum DefaultFilter

java.lang.Object
java.lang.Enum<DefaultFilter>
org.apache.shiro.web.filter.mgt.DefaultFilter
All Implemented Interfaces:
Serializable, Comparable<DefaultFilter>

public enum DefaultFilter extends Enum<DefaultFilter>
Enum representing all of the default Shiro Filter instances available to web applications. Each filter instance is typically accessible in configuration the name of the enum constant.
Since:
1.0
  • Enum Constant Details

  • Method Details

    • values

      public static DefaultFilter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DefaultFilter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • newInstance

      public javax.servlet.Filter newInstance()
    • getFilterClass

      public Class<? extends javax.servlet.Filter> getFilterClass()
    • createInstanceMap

      public static Map<String,javax.servlet.Filter> createInstanceMap(javax.servlet.FilterConfig config)