Package co.ecg.alpaca.toolkit.generated
Class Login.AuthenticationVerifyRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<Login.AuthenticationVerifyResponse>
co.ecg.alpaca.toolkit.generated.Login.AuthenticationVerifyRequest
- Enclosing class:
- Login
@ChoiceGroup({"userId","password"}) @ChoiceGroup({"phoneNumber","passcode"}) @ChoiceGroup({"linePort","password"}) @ChoiceGroup("loginToken") @ChoiceGroup({"sipAuthenticationUserName","sipAuthenticationPassword","userId"})
public static class Login.AuthenticationVerifyRequest
extends Request<Login.AuthenticationVerifyResponse>
AuthenticationVerifyRequest22 is used to authenticate a user either by userId/password, userId/sip username/sip password, dn/passcode, lineport/password or a token previously authorized with the ExternalAuthenticationAuthorizeTokenRequest. The phone number may be any DN associated with a user. The lineport may be any lineport associated with a user. The password used for the lineport is the user’s password associated with userId. The response is a AuthenticationVerifyResponse22 or an ErrorResponse
- Author:
- AlpacaGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Size(min=1,max=161) String
protected @Size(min=1) String
protected @Size(min=1,max=30) String
protected @Size(min=1,max=60) String
protected @Size(min=1,max=23) String
protected @Size(min=1,max=60) String
protected @Size(min=1,max=80) String
protected @Size(min=1,max=161) String
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationVerifyRequest
(BroadWorksServer broadWorksServer) AuthenticationVerifyRequest
(BroadWorksServer broadWorksServer, String loginToken) AuthenticationVerifyRequest
(BroadWorksServer broadWorksServer, String userId, String password) AuthenticationVerifyRequest
(BroadWorksServer broadWorksServer, String sipAuthenticationUserName, String sipAuthenticationPassword, String userId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.setLinePort
(String linePort) setLoginToken
(String loginToken) setPasscode
(String passcode) setPassword
(String password) setPhoneNumber
(String phoneNumber) setSipAuthenticationPassword
(String sipAuthenticationPassword) setSipAuthenticationUserName
(String sipAuthenticationUserName) Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isIgnoreCache, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setIgnoreCache, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
userId
-
password
-
phoneNumber
-
passcode
-
linePort
-
loginToken
-
sipAuthenticationUserName
-
sipAuthenticationPassword
-
-
Constructor Details
-
AuthenticationVerifyRequest
public AuthenticationVerifyRequest() -
AuthenticationVerifyRequest
-
AuthenticationVerifyRequest
public AuthenticationVerifyRequest(BroadWorksServer broadWorksServer, String userId, String password) -
AuthenticationVerifyRequest
-
AuthenticationVerifyRequest
public AuthenticationVerifyRequest(BroadWorksServer broadWorksServer, String sipAuthenticationUserName, String sipAuthenticationPassword, String userId)
-
-
Method Details
-
setUserId
-
getUserId
-
setPassword
-
getPassword
-
setPhoneNumber
-
getPhoneNumber
-
setPasscode
-
getPasscode
-
setLinePort
-
getLinePort
-
setLoginToken
-
getLoginToken
-
setSipAuthenticationUserName
public Login.AuthenticationVerifyRequest setSipAuthenticationUserName(String sipAuthenticationUserName) -
getSipAuthenticationUserName
-
setSipAuthenticationPassword
public Login.AuthenticationVerifyRequest setSipAuthenticationPassword(String sipAuthenticationPassword) -
getSipAuthenticationPassword
-
formRequest
public void formRequest()Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequest
in classRequest<Login.AuthenticationVerifyResponse>
-