Class EnforceContext

java.lang.Object
org.casbin.jcasbin.util.EnforceContext

public class EnforceContext extends Object
EnforceContext is used as the first element of the parameter "rvals" in method "enforce"
  • Field Details

  • Constructor Details

    • EnforceContext

      public EnforceContext(String suffix)
    • EnforceContext

      public EnforceContext(String pSuffix, String eSuffix, String mSuffix, String rSuffix)
  • Method Details

    • getpType

      public String getpType()
    • setpType

      public void setpType(String pType)
    • geteType

      public String geteType()
    • seteType

      public void seteType(String eType)
    • getmType

      public String getmType()
    • setmType

      public void setmType(String mType)
    • getrType

      public String getrType()
    • setrType

      public void setrType(String rType)