Interface Bindable
public interface Bindable
- Author:
- Radek Jira
-
Method Summary
Modifier and Type Method Description java.lang.StringbinderLogout(java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)Binder logout.java.lang.StringidentityLink(java.lang.String identityLinkId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)Starts identity link operation.org.springframework.web.servlet.ModelAndViewidentityLinkCheck(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)Evaluates identity link operation result.java.lang.StringisAuthenticated(javax.servlet.http.HttpServletRequest httpRequest)Tests, if user is authenticated.java.lang.StringisCFVerified(javax.servlet.http.HttpServletRequest httpRequest)Tests, if CF is verified.java.lang.StringisPFVerified(javax.servlet.http.HttpServletRequest httpRequest)Tests, if PF is verified.java.lang.Stringopen(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)Starts open operation.org.springframework.web.servlet.ModelAndViewopenCheck(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)Evaluates open operation result.java.lang.StringopenPage(javax.servlet.http.HttpServletRequest httpRequest)Forwards user to application open page.java.lang.StringopenShortPage(javax.servlet.http.HttpServletRequest httpRequest)Forwards user to application open short page.java.lang.StringprepareIdentityLink(java.lang.String identityLinkId, java.lang.String identityLink)Prepares identity link.java.lang.StringprepareTransaction(java.lang.String transactionId, java.lang.String transaction)Prepares transaction.voidremote(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)Starts open operation - remote access.voidremoteCheck(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.StringremoveAuthenticationResult(java.lang.String sessionId)Removes authentication result.java.lang.StringremoveIdentityLinkResult(java.lang.String sessionId, java.lang.String identityLinkId)Removes identity link result.java.lang.StringremoveTransactionResult(java.lang.String sessionId, java.lang.String transactionId)Removes transaction result.java.lang.Stringtransaction(java.lang.String transactionId, java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)Starts verify message operation.org.springframework.web.servlet.ModelAndViewtransactionCheck(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.StringverifyCF(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)Starts verifyCF operation.org.springframework.web.servlet.ModelAndViewverifyCFCheck(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)Evaluates verifyCF operation result.java.lang.StringverifyCFPage(javax.servlet.http.HttpServletRequest httpRequest)Forwards user to application verifyCF page.java.lang.StringverifyCFShortPage(javax.servlet.http.HttpServletRequest httpRequest)Forwards user to application verifyCF short page.java.lang.StringverifyLF(java.lang.Boolean generateQrCodePicture, javax.servlet.http.HttpServletRequest httpRequest)Starts verifyLF operation.org.springframework.web.servlet.ModelAndViewverifyLFCheck(java.lang.String id, java.lang.String authId, java.lang.String authKey, javax.servlet.http.HttpServletRequest httpRequest)Evaluates verifyLF operation result.java.lang.StringverifyLFPage(javax.servlet.http.HttpServletRequest httpRequest)Forwards user to application verifyLF page.java.lang.StringverifyLFShortPage(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 AducidWebExceptionStarts open operation.
- Parameters:
generateQrCodePicture- generate QR code picture flag valuehttpRequest- 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 AducidWebExceptionEvaluates open operation result.
- Parameters:
id- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- 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 AducidWebExceptionTests, 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 AducidWebExceptionStarts verifyLF operation.
- Parameters:
generateQrCodePicture- generate QR code picture flag valuehttpRequest- 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 AducidWebExceptionEvaluates verifyLF operation result.
- Parameters:
id- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- 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 AducidWebExceptionTests, 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 AducidWebExceptionStarts verifyCF operation.
- Parameters:
generateQrCodePicture- generate QR code picture flag valuehttpRequest- 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 AducidWebExceptionEvaluates verifyCF operation result.
- Parameters:
id- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- 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 AducidWebExceptionTests, 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 requesthttpResponse- 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- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- HTTP requesthttpResponse- HTTP response
-
prepareTransaction
java.lang.String prepareTransaction(java.lang.String transactionId, java.lang.String transaction)Prepares transaction.
- Parameters:
transactionId- transaction identifiertransaction- 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 AducidWebExceptionStarts verify message operation.
- Parameters:
transactionId- transaction identifiergenerateQrCodePicture- generate QR code picture flag valuehttpRequest- 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 AducidWebExceptionEvaluates verify message operation result.
- Parameters:
id- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- 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 identifieridentityLink- 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 AducidWebExceptionStarts identity link operation.
- Parameters:
identityLinkId- identity link identifiergenerateQrCodePicture- generate QR code picture flag valuehttpRequest- 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 AducidWebExceptionEvaluates identity link operation result.
- Parameters:
id- identifierauthId- authentication identifierauthKey- authentication keyhttpRequest- 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 identifiertransactionId- 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 identifieridentityLinkId- 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 identifierauthKey- authentication keysessionId- session identifierhttpRequest- HTTP request- Returns:
- response entity
-
binderLogout
java.lang.String binderLogout(java.lang.String sessionId, javax.servlet.http.HttpServletRequest httpRequest)Binder logout.
- Parameters:
sessionId- session identifierhttpRequest- HTTP request- Returns:
- home page
-