Package com.soffid.iam.api
Class Challenge
- java.lang.Object
-
- com.soffid.iam.api.Challenge
-
- All Implemented Interfaces:
Serializable
public class Challenge extends Object implements Serializable
ValueObject Challenge- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCARD_DISABLEDConstant CARD_DISABLEDstatic intCARD_IFABLEConstant CARD_IFABLEstatic intCARD_IFNEEDEDConstant CARD_IFNEEDEDstatic intCARD_REQUIREDConstant CARD_REQUIREDstatic intTYPE_CERTConstant TYPE_CERTstatic intTYPE_KERBEROSConstant TYPE_KERBEROSstatic intTYPE_PASSWORDConstant TYPE_PASSWORDstatic intTYPE_RMIConstant TYPE_RMI
-
Constructor Summary
Constructors Constructor Description Challenge()Challenge(int type, boolean closeOldSessions, boolean silent, boolean alternativeMethodAvailable, boolean resendAvailable)Challenge(Challenge otherBean)Challenge(Password password, int type, User user, Account account, String userKey, Host host, Host clientHost, int centinelPort, String otpHandler, String cardNumber, String cell, String value, Timestamp timeStamp, int clientVersion, String kerberosDomain, String challengeId, GSSContext kerberosContext, String domain, boolean closeOldSessions, boolean silent, boolean alternativeMethodAvailable, boolean resendAvailable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountgetAccount()Gets value for attribute accountStringgetCardNumber()Gets value for attribute cardNumberStringgetCell()Gets value for attribute cellintgetCentinelPort()Gets value for attribute centinelPortStringgetChallengeId()Gets value for attribute challengeIdHostgetClientHost()Gets value for attribute clientHostintgetClientVersion()Gets value for attribute clientVersionStringgetDomain()Gets value for attribute domainHostgetHost()Gets value for attribute hostGSSContextgetKerberosContext()Gets value for attribute kerberosContextStringgetKerberosDomain()Gets value for attribute kerberosDomainStringgetOtpHandler()Gets value for attribute otpHandlerPasswordgetPassword()Gets value for attribute passwordTimestampgetTimeStamp()Gets value for attribute timeStampintgetType()Gets value for attribute typeUsergetUser()Gets value for attribute userStringgetUserKey()Gets value for attribute userKeyStringgetValue()Gets value for attribute valuebooleanisAlternativeMethodAvailable()Gets value for attribute alternativeMethodAvailablebooleanisCloseOldSessions()Gets value for attribute closeOldSessionsbooleanisResendAvailable()Gets value for attribute resendAvailablebooleanisSilent()Gets value for attribute silentvoidsetAccount(Account account)Sets value for attribute accountvoidsetAlternativeMethodAvailable(boolean alternativeMethodAvailable)Sets value for attribute alternativeMethodAvailablevoidsetCardNumber(String cardNumber)Sets value for attribute cardNumbervoidsetCell(String cell)Sets value for attribute cellvoidsetCentinelPort(int centinelPort)Sets value for attribute centinelPortvoidsetChallengeId(String challengeId)Sets value for attribute challengeIdvoidsetClientHost(Host clientHost)Sets value for attribute clientHostvoidsetClientVersion(int clientVersion)Sets value for attribute clientVersionvoidsetCloseOldSessions(boolean closeOldSessions)Sets value for attribute closeOldSessionsvoidsetDomain(String domain)Sets value for attribute domainvoidsetHost(Host host)Sets value for attribute hostvoidsetKerberosContext(GSSContext kerberosContext)Sets value for attribute kerberosContextvoidsetKerberosDomain(String kerberosDomain)Sets value for attribute kerberosDomainvoidsetOtpHandler(String otpHandler)Sets value for attribute otpHandlervoidsetPassword(Password password)Sets value for attribute passwordvoidsetResendAvailable(boolean resendAvailable)Sets value for attribute resendAvailablevoidsetSilent(boolean silent)Sets value for attribute silentvoidsetTimeStamp(Timestamp timeStamp)Sets value for attribute timeStampvoidsetType(int type)Sets value for attribute typevoidsetUser(User user)Sets value for attribute uservoidsetUserKey(String userKey)Sets value for attribute userKeyvoidsetValue(String value)Sets value for attribute valuestatic ChallengetoChallenge(Challenge vo)Creates a Challenge value object based on a Challenge object.static voidtoChallenge(Challenge source, Challenge target)Updates a Challenge value object based on a Challenge object.static Challenge[]toChallengeArray(Challenge[] source)Creates a Challenge array on a Challenge array.static AsyncList<Challenge>toChallengeAsyncList(AsyncList<Challenge> source)Creates a Challenge asynclist on a Challenge collection.static PagedResult<Challenge>toChallengeList(PagedResult<Challenge> source)Creates a Challenge pagedResult on a Challenge collection.static List<Challenge>toChallengeList(Collection<Challenge> source)Creates a Challenge list on a Challenge collection.StringtoString()Returns a string representation of the value object.
-
-
-
Field Detail
-
CARD_REQUIRED
public static final int CARD_REQUIRED
Constant CARD_REQUIRED- See Also:
- Constant Field Values
-
CARD_IFABLE
public static final int CARD_IFABLE
Constant CARD_IFABLE- See Also:
- Constant Field Values
-
CARD_IFNEEDED
public static final int CARD_IFNEEDED
Constant CARD_IFNEEDED- See Also:
- Constant Field Values
-
CARD_DISABLED
public static final int CARD_DISABLED
Constant CARD_DISABLED- See Also:
- Constant Field Values
-
TYPE_RMI
public static final int TYPE_RMI
Constant TYPE_RMI- See Also:
- Constant Field Values
-
TYPE_KERBEROS
public static final int TYPE_KERBEROS
Constant TYPE_KERBEROS- See Also:
- Constant Field Values
-
TYPE_CERT
public static final int TYPE_CERT
Constant TYPE_CERT- See Also:
- Constant Field Values
-
TYPE_PASSWORD
public static final int TYPE_PASSWORD
Constant TYPE_PASSWORD- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Challenge
public Challenge()
-
Challenge
public Challenge(Password password, int type, User user, Account account, String userKey, Host host, Host clientHost, int centinelPort, String otpHandler, String cardNumber, String cell, String value, Timestamp timeStamp, int clientVersion, String kerberosDomain, String challengeId, GSSContext kerberosContext, String domain, boolean closeOldSessions, boolean silent, boolean alternativeMethodAvailable, boolean resendAvailable)
-
Challenge
public Challenge(int type, boolean closeOldSessions, boolean silent, boolean alternativeMethodAvailable, boolean resendAvailable)
-
Challenge
public Challenge(Challenge otherBean)
-
-
Method Detail
-
getPassword
public Password getPassword()
Gets value for attribute password
-
setPassword
public void setPassword(Password password)
Sets value for attribute password
-
getType
public int getType()
Gets value for attribute type
-
setType
public void setType(int type)
Sets value for attribute type
-
getUser
public User getUser()
Gets value for attribute user
-
setUser
public void setUser(User user)
Sets value for attribute user
-
getAccount
public Account getAccount()
Gets value for attribute account
-
setAccount
public void setAccount(Account account)
Sets value for attribute account
-
getUserKey
public String getUserKey()
Gets value for attribute userKey
-
setUserKey
public void setUserKey(String userKey)
Sets value for attribute userKey
-
getHost
public Host getHost()
Gets value for attribute host
-
setHost
public void setHost(Host host)
Sets value for attribute host
-
getClientHost
public Host getClientHost()
Gets value for attribute clientHost
-
setClientHost
public void setClientHost(Host clientHost)
Sets value for attribute clientHost
-
getCentinelPort
public int getCentinelPort()
Gets value for attribute centinelPort
-
setCentinelPort
public void setCentinelPort(int centinelPort)
Sets value for attribute centinelPort
-
getOtpHandler
public String getOtpHandler()
Gets value for attribute otpHandler
-
setOtpHandler
public void setOtpHandler(String otpHandler)
Sets value for attribute otpHandler
-
getCardNumber
public String getCardNumber()
Gets value for attribute cardNumber
-
setCardNumber
public void setCardNumber(String cardNumber)
Sets value for attribute cardNumber
-
getCell
public String getCell()
Gets value for attribute cell
-
setCell
public void setCell(String cell)
Sets value for attribute cell
-
getValue
public String getValue()
Gets value for attribute value
-
setValue
public void setValue(String value)
Sets value for attribute value
-
getTimeStamp
public Timestamp getTimeStamp()
Gets value for attribute timeStamp
-
setTimeStamp
public void setTimeStamp(Timestamp timeStamp)
Sets value for attribute timeStamp
-
getClientVersion
public int getClientVersion()
Gets value for attribute clientVersion
-
setClientVersion
public void setClientVersion(int clientVersion)
Sets value for attribute clientVersion
-
getKerberosDomain
public String getKerberosDomain()
Gets value for attribute kerberosDomain
-
setKerberosDomain
public void setKerberosDomain(String kerberosDomain)
Sets value for attribute kerberosDomain
-
getChallengeId
public String getChallengeId()
Gets value for attribute challengeId
-
setChallengeId
public void setChallengeId(String challengeId)
Sets value for attribute challengeId
-
getKerberosContext
public GSSContext getKerberosContext()
Gets value for attribute kerberosContext
-
setKerberosContext
public void setKerberosContext(GSSContext kerberosContext)
Sets value for attribute kerberosContext
-
getDomain
public String getDomain()
Gets value for attribute domain
-
setDomain
public void setDomain(String domain)
Sets value for attribute domain
-
isCloseOldSessions
public boolean isCloseOldSessions()
Gets value for attribute closeOldSessions
-
setCloseOldSessions
public void setCloseOldSessions(boolean closeOldSessions)
Sets value for attribute closeOldSessions
-
isSilent
public boolean isSilent()
Gets value for attribute silent
-
setSilent
public void setSilent(boolean silent)
Sets value for attribute silent
-
isAlternativeMethodAvailable
public boolean isAlternativeMethodAvailable()
Gets value for attribute alternativeMethodAvailable
-
setAlternativeMethodAvailable
public void setAlternativeMethodAvailable(boolean alternativeMethodAvailable)
Sets value for attribute alternativeMethodAvailable
-
isResendAvailable
public boolean isResendAvailable()
Gets value for attribute resendAvailable
-
setResendAvailable
public void setResendAvailable(boolean resendAvailable)
Sets value for attribute resendAvailable
-
toString
public String toString()
Returns a string representation of the value object.
-
toChallenge
public static Challenge toChallenge(Challenge vo)
Creates a Challenge value object based on a Challenge object.
-
toChallengeList
public static List<Challenge> toChallengeList(Collection<Challenge> source)
Creates a Challenge list on a Challenge collection.
-
toChallengeList
public static PagedResult<Challenge> toChallengeList(PagedResult<Challenge> source)
Creates a Challenge pagedResult on a Challenge collection.
-
toChallengeAsyncList
public static AsyncList<Challenge> toChallengeAsyncList(AsyncList<Challenge> source)
Creates a Challenge asynclist on a Challenge collection.
-
toChallengeArray
public static Challenge[] toChallengeArray(Challenge[] source)
Creates a Challenge array on a Challenge array.
-
-