Interface Bindable


public interface Bindable
Bindable interface. Created 9. 4. 2019 10:13:33
Author:
Radek Jira
  • Method Summary

    Modifier and Type Method Description
    java.lang.String binderLogout​(java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)
    Binder logout.
    java.lang.String identityLink​(java.lang.String identityLinkId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)
    Starts identity link operation.
    org.springframework.web.servlet.ModelAndView identityLinkCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)
    Evaluates identity link operation result.
    java.lang.String isAuthenticated​(javax.servlet.http.HttpServletRequest httpRequest)
    Tests, if user is authenticated.
    java.lang.String isCFVerified​(javax.servlet.http.HttpServletRequest httpRequest)
    Tests, if CF is verified.
    java.lang.String isPFVerified​(javax.servlet.http.HttpServletRequest httpRequest)
    Tests, if PF is verified.
    java.lang.String open​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)
    Starts open operation.
    org.springframework.web.servlet.ModelAndView openCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)
    Evaluates open operation result.
    java.lang.String openPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application open page.
    java.lang.String openShortPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application open short page.
    java.lang.String prepareIdentityLink​(java.lang.String identityLinkId, java.lang.String identityLink)
    Prepares identity link.
    java.lang.String prepareTransaction​(java.lang.String transactionId, java.lang.String transaction)
    Prepares transaction.
    void remote​(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
    Starts open operation - remote access.
    void remoteCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
    Evaluates open operation result - remote access.
    java.lang.String removeAuthenticationResult​(java.lang.String sessionId)
    Removes authentication result.
    java.lang.String removeIdentityLinkResult​(java.lang.String sessionId, java.lang.String identityLinkId)
    Removes identity link result.
    java.lang.String removeTransactionResult​(java.lang.String sessionId, java.lang.String transactionId)
    Removes transaction result.
    java.lang.String transaction​(java.lang.String transactionId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)
    Starts verify message operation.
    org.springframework.web.servlet.ModelAndView transactionCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)
    Evaluates verify message operation result.
    org.springframework.http.ResponseEntity<java.lang.String> updateSession​(java.lang.String authId, java.lang.String authKey, java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)
    Updates session.
    java.lang.String verifyCF​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)
    Starts verifyCF operation.
    org.springframework.web.servlet.ModelAndView verifyCFCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)
    Evaluates verifyCF operation result.
    java.lang.String verifyCFPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application verifyCF page.
    java.lang.String verifyCFShortPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application verifyCF short page.
    java.lang.String verifyLF​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)
    Starts verifyLF operation.
    org.springframework.web.servlet.ModelAndView verifyLFCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)
    Evaluates verifyLF operation result.
    java.lang.String verifyLFPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application verifyLF page.
    java.lang.String verifyLFShortPage​(javax.servlet.http.HttpServletRequest httpRequest)
    Forwards user to application verifyLF short page.
  • Method Details

    • openPage

      java.lang.String openPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application open page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application open page
    • openShortPage

      java.lang.String openShortPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application open short page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application open short page
    • open

      java.lang.String open​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Starts open operation.

      Parameters:
      generateQrCodePicture - generate QR code picture flag value
      httpRequest - HTTP request
      Returns:
      request operation result as JSON
      Throws:
      AducidWebException - when error occurs during web controller call
    • openCheck

      org.springframework.web.servlet.ModelAndView openCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Evaluates open operation result.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      Returns:
      model and view with redirect URL
      Throws:
      AducidWebException - when error occurs during web controller call
    • isAuthenticated

      java.lang.String isAuthenticated​(javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Tests, if user is authenticated.

      Parameters:
      httpRequest - HTTP request
      Returns:
      true as JSON, if user is authenticated
      Throws:
      AducidWebException - when error occurs during web controller call
    • verifyLFPage

      java.lang.String verifyLFPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application verifyLF page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application verifyLF page
    • verifyLFShortPage

      java.lang.String verifyLFShortPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application verifyLF short page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application verifyLF short page
    • verifyLF

      java.lang.String verifyLF​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Starts verifyLF operation.

      Parameters:
      generateQrCodePicture - generate QR code picture flag value
      httpRequest - HTTP request
      Returns:
      request operation result as JSON
      Throws:
      AducidWebException - when error occurs during web controller call
    • verifyLFCheck

      org.springframework.web.servlet.ModelAndView verifyLFCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Evaluates verifyLF operation result.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      Returns:
      model and view with redirect URL
      Throws:
      AducidWebException - when error occurs during web controller call
    • isPFVerified

      java.lang.String isPFVerified​(javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Tests, if PF is verified.

      Parameters:
      httpRequest - HTTP request
      Returns:
      true as JSON, if PF is verified
      Throws:
      AducidWebException - when error occurs during web controller call
    • verifyCFPage

      java.lang.String verifyCFPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application verifyCF page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application verifyCF page
    • verifyCFShortPage

      java.lang.String verifyCFShortPage​(javax.servlet.http.HttpServletRequest httpRequest)

      Forwards user to application verifyCF short page.

      Parameters:
      httpRequest - HTTP request
      Returns:
      application verifyCF short page
    • verifyCF

      java.lang.String verifyCF​(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Starts verifyCF operation.

      Parameters:
      generateQrCodePicture - generate QR code picture flag value
      httpRequest - HTTP request
      Returns:
      request operation result as JSON
      Throws:
      AducidWebException - when error occurs during web controller call
    • verifyCFCheck

      org.springframework.web.servlet.ModelAndView verifyCFCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Evaluates verifyCF operation result.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      Returns:
      model and view with redirect URL
      Throws:
      AducidWebException - when error occurs during web controller call
    • isCFVerified

      java.lang.String isCFVerified​(javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Tests, if CF is verified.

      Parameters:
      httpRequest - HTTP request
      Returns:
      true as JSON, if CF is verified
      Throws:
      AducidWebException - when error occurs during web controller call
    • remote

      void remote​(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)

      Starts open operation - remote access.

      Parameters:
      httpRequest - HTTP request
      httpResponse - HTTP response
    • remoteCheck

      void remoteCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)

      Evaluates open operation result - remote access.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      httpResponse - HTTP response
    • prepareTransaction

      java.lang.String prepareTransaction​(java.lang.String transactionId, java.lang.String transaction)

      Prepares transaction.

      Parameters:
      transactionId - transaction identifier
      transaction - transaction as JSON
      Returns:
      response as JSON
    • transaction

      java.lang.String transaction​(java.lang.String transactionId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Starts verify message operation.

      Parameters:
      transactionId - transaction identifier
      generateQrCodePicture - generate QR code picture flag value
      httpRequest - HTTP request
      Returns:
      request operation result as JSON
      Throws:
      AducidWebException - when error occurs during web controller call
    • transactionCheck

      org.springframework.web.servlet.ModelAndView transactionCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Evaluates verify message operation result.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      Returns:
      model and view with redirect URL
      Throws:
      AducidWebException - when error occurs during web controller call
    • prepareIdentityLink

      java.lang.String prepareIdentityLink​(java.lang.String identityLinkId, java.lang.String identityLink)

      Prepares identity link.

      Parameters:
      identityLinkId - identity link identifier
      identityLink - identity link as JSON
      Returns:
      response as JSON
    • identityLink

      java.lang.String identityLink​(java.lang.String identityLinkId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Starts identity link operation.

      Parameters:
      identityLinkId - identity link identifier
      generateQrCodePicture - generate QR code picture flag value
      httpRequest - HTTP request
      Returns:
      request operation result as JSON
      Throws:
      AducidWebException - when error occurs during web controller call
    • identityLinkCheck

      org.springframework.web.servlet.ModelAndView identityLinkCheck​(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest) throws AducidWebException

      Evaluates identity link operation result.

      Parameters:
      id - identifier
      authId - authentication identifier
      authKey - authentication key
      httpRequest - HTTP request
      Returns:
      model and view with redirect URL
      Throws:
      AducidWebException - when error occurs during web controller call
    • removeAuthenticationResult

      java.lang.String removeAuthenticationResult​(java.lang.String sessionId)

      Removes authentication result.

      Parameters:
      sessionId - session identifier
      Returns:
      response as JSON
    • removeTransactionResult

      java.lang.String removeTransactionResult​(java.lang.String sessionId, java.lang.String transactionId)

      Removes transaction result.

      Parameters:
      sessionId - session identifier
      transactionId - transaction identifier
      Returns:
      response as JSON
    • removeIdentityLinkResult

      java.lang.String removeIdentityLinkResult​(java.lang.String sessionId, java.lang.String identityLinkId)

      Removes identity link result.

      Parameters:
      sessionId - session identifier
      identityLinkId - identity link identifier
      Returns:
      response as JSON
    • updateSession

      org.springframework.http.ResponseEntity<java.lang.String> updateSession​(java.lang.String authId, java.lang.String authKey, java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)

      Updates session.

      Parameters:
      authId - authentication identifier
      authKey - authentication key
      sessionId - session identifier
      httpRequest - HTTP request
      Returns:
      response entity
    • binderLogout

      java.lang.String binderLogout​(java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)

      Binder logout.

      Parameters:
      sessionId - session identifier
      httpRequest - HTTP request
      Returns:
      home page