Class InweboService
- java.lang.Object
-
- org.apereo.cas.support.inwebo.service.InweboService
-
public class InweboService extends java.lang.ObjectThe Inwebo service.- Since:
- 6.4.0
-
-
Constructor Summary
Constructors Constructor Description InweboService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InweboDeviceNameResponseauthenticateExtended(java.lang.String login, java.lang.String token)Extend the authentication attempt.protected AbstractInweboResponsebuildResponse(AbstractInweboResponse response, java.lang.String operation, java.lang.String err)Build response.protected com.fasterxml.jackson.databind.JsonNodecall(java.lang.String url)Call url.InweboDeviceNameResponsecheckPushResult(java.lang.String login, java.lang.String sessionId)Check push result for inwebo device.InweboLoginSearchResponseloginSearch(java.lang.String login)Login search.InweboPushAuthenticateResponsepushAuthenticate(java.lang.String login)Push authenticate.protected static voidretrieveDeviceName(com.fasterxml.jackson.databind.JsonNode json, InweboDeviceNameResponse response)Retrieve device name.
-
-
-
Method Detail
-
retrieveDeviceName
protected static void retrieveDeviceName(com.fasterxml.jackson.databind.JsonNode json, InweboDeviceNameResponse response)Retrieve device name.- Parameters:
json- the jsonresponse- the response
-
loginSearch
public InweboLoginSearchResponse loginSearch(java.lang.String login)
Login search.- Parameters:
login- the login- Returns:
- the inwebo login search response
-
pushAuthenticate
public InweboPushAuthenticateResponse pushAuthenticate(java.lang.String login)
Push authenticate.- Parameters:
login- the login- Returns:
- the inwebo push authenticate response
-
checkPushResult
public InweboDeviceNameResponse checkPushResult(java.lang.String login, java.lang.String sessionId)
Check push result for inwebo device.- Parameters:
login- the loginsessionId- the session id- Returns:
- the inwebo device name response
-
authenticateExtended
public InweboDeviceNameResponse authenticateExtended(java.lang.String login, java.lang.String token)
Extend the authentication attempt.- Parameters:
login- the logintoken- the token- Returns:
- the inwebo device name response
-
call
protected com.fasterxml.jackson.databind.JsonNode call(java.lang.String url)
Call url.- Parameters:
url- the url- Returns:
- the json node
-
buildResponse
protected AbstractInweboResponse buildResponse(AbstractInweboResponse response, java.lang.String operation, java.lang.String err)
Build response.- Parameters:
response- the responseoperation- the operationerr- the err- Returns:
- the abstract inwebo response
-
-