Class EditAccessTokenHandler

    • Constructor Detail

      • EditAccessTokenHandler

        public EditAccessTokenHandler()
    • Method Detail

      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        Overrides:
        init in class JcmsFormHandler
      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Process the creation of the authentication key, as soon as the parameter are good.
        Overrides:
        processAction in class EditDataHandler
        Returns:
        true if a redirect occured, false otherwise
        Throws:
        java.io.IOException
      • getAcceptedHttpMethods

        public static java.lang.String[] getAcceptedHttpMethods()
        Gives the managed HTTP methods availables.
        Returns:
        an array of all these methods
      • isJwtTokenType

        public boolean isJwtTokenType()
      • setTokenType

        public void setTokenType​(java.lang.String v)
      • getAvailableName

        public java.lang.String getAvailableName()
      • setName

        public void setName​(java.lang.String name)
      • getAvailableUrl

        public java.lang.String getAvailableUrl()
      • setUrl

        public void setUrl​(java.lang.String url)
      • getAvailablePrefixMode

        public boolean getAvailablePrefixMode()
      • setPrefixMode

        public void setPrefixMode​(java.lang.String prefixModeStr)
      • getAvailableMemberId

        public java.lang.String getAvailableMemberId()
      • setMemberId

        public void setMemberId​(java.lang.String memberId)
      • getAvailableDuration

        public java.lang.String getAvailableDuration()
      • setDuration

        public void setDuration​(java.lang.String duration)
      • getAvailableMethods

        public java.lang.String[] getAvailableMethods()
      • setMethods

        public void setMethods​(java.lang.String[] methods)
      • getAvailableIpMask

        public java.lang.String getAvailableIpMask()
      • setIpMask

        public void setIpMask​(java.lang.String ipMask)
      • getAvailableAccessToken

        public AccessToken getAvailableAccessToken()
      • getResultUrlWithAuthKey

        public java.lang.String getResultUrlWithAuthKey()
      • getResultAuthKey

        public java.lang.String getResultAuthKey()
      • getResultJwt

        public java.lang.String getResultJwt()
      • showEditor

        public boolean showEditor()
      • justCreated

        public boolean justCreated()
      • setRefreshAfterClose

        public void setRefreshAfterClose​(java.lang.String v)
      • getAvailableRefreshAfterClose

        public boolean getAvailableRefreshAfterClose()
      • setOpClose

        public void setOpClose​(java.lang.String v)