Class EditAccessTokenHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditAccessTokenHandler extends EditDataHandler
  • Constructor Details

    • EditAccessTokenHandler

      public EditAccessTokenHandler()
  • Method Details

    • getDataClass

      public Class<? extends Data> getDataClass()
      Specified by:
      getDataClass in class EditDataHandler
    • 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 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:
      IOException
    • getAcceptedHttpMethods

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

      public void setId(String id)
      Overrides:
      setId in class EditDataHandler
    • isJwtTokenType

      public boolean isJwtTokenType()
    • getAvailableTokenType

      public AccessTokenManager.TokenType getAvailableTokenType()
    • setTokenType

      public void setTokenType(String v)
    • getAvailableName

      public String getAvailableName()
    • setName

      public void setName(String name)
    • getAvailableUrl

      public String getAvailableUrl()
    • setUrl

      public void setUrl(String url)
    • getAvailablePrefixMode

      public boolean getAvailablePrefixMode()
    • setPrefixMode

      public void setPrefixMode(String prefixModeStr)
    • getAvailableMemberId

      public String getAvailableMemberId()
    • setMemberId

      public void setMemberId(String memberId)
    • getAvailableDuration

      public String getAvailableDuration()
    • setDuration

      public void setDuration(String duration)
    • getAvailableMethods

      public String[] getAvailableMethods()
    • setMethods

      public void setMethods(String[] methods)
    • getAvailableIpMask

      public String getAvailableIpMask()
    • setIpMask

      public void setIpMask(String ipMask)
    • getAvailableAccessToken

      public AccessToken getAvailableAccessToken()
    • getResultUrlWithAuthKey

      public String getResultUrlWithAuthKey()
    • getResultAuthKey

      public String getResultAuthKey()
    • getResultJwt

      public String getResultJwt()
    • showEditor

      public boolean showEditor()
    • justCreated

      public boolean justCreated()
    • setRefreshAfterClose

      public void setRefreshAfterClose(String v)
    • getAvailableRefreshAfterClose

      public boolean getAvailableRefreshAfterClose()
    • setOpClose

      public void setOpClose(String v)