Class StrictCrumbIssuer

    • Constructor Detail

      • StrictCrumbIssuer

        public StrictCrumbIssuer​(boolean checkClientIP,
                                 boolean checkSameSource,
                                 boolean checkOnlyLocalPath,
                                 boolean checkSessionMatch,
                                 int hoursValid,
                                 boolean xorMasking)
      • StrictCrumbIssuer

        @DataBoundConstructor
        public StrictCrumbIssuer()
    • Method Detail

      • setCheckClientIP

        @DataBoundSetter
        public void setCheckClientIP​(boolean checkClientIP)
      • setCheckSameSource

        @DataBoundSetter
        public void setCheckSameSource​(boolean checkSameSource)
      • setCheckOnlyLocalPath

        @DataBoundSetter
        public void setCheckOnlyLocalPath​(boolean checkOnlyLocalPath)
      • setCheckSessionMatch

        @DataBoundSetter
        public void setCheckSessionMatch​(boolean checkSessionMatch)
      • setHoursValid

        @DataBoundSetter
        public void setHoursValid​(int hoursValid)
      • setXorMasking

        @DataBoundSetter
        public void setXorMasking​(boolean xorMasking)
      • setup

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        @PostConstruct
        public void setup()
      • isCheckingClientIP

        @Deprecated
        @RestrictedSince("2.1.0")
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public boolean isCheckingClientIP()
        Deprecated.
        name was changed for JCasC, please use isCheckClientIP instead
      • isCheckingSameSource

        @Deprecated
        @RestrictedSince("2.1.0")
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public boolean isCheckingSameSource()
        Deprecated.
        name was changed for JCasC, please use isCheckSameSource instead
      • isCheckingOnlyLocalPath

        @Deprecated
        @RestrictedSince("2.1.0")
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public boolean isCheckingOnlyLocalPath()
        Deprecated.
        name was changed for JCasC, please use isCheckOnlyLocalPath instead
      • isCheckingSessionMatch

        @Deprecated
        @RestrictedSince("2.1.0")
        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public boolean isCheckingSessionMatch()
        Deprecated.
        name was changed for JCasC, please use isCheckSessionMatch instead
      • isCheckClientIP

        public boolean isCheckClientIP()
      • isCheckSameSource

        public boolean isCheckSameSource()
      • isCheckOnlyLocalPath

        public boolean isCheckOnlyLocalPath()
      • isCheckSessionMatch

        public boolean isCheckSessionMatch()
      • getHoursValid

        public int getHoursValid()
      • isXorMasking

        public boolean isXorMasking()
      • issueCrumb

        @CheckForNull
        protected String issueCrumb​(@NonNull
                                    javax.servlet.ServletRequest request,
                                    @NonNull
                                    String salt)
        Specified by:
        issueCrumb in class CrumbIssuer
      • validateCrumb

        public boolean validateCrumb​(@NonNull
                                     javax.servlet.ServletRequest request,
                                     @NonNull
                                     String salt,
                                     @CheckForNull
                                     String encodedCrumb)
        Specified by:
        validateCrumb in class CrumbIssuer