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 int
CARD_DISABLED
Constant CARD_DISABLEDstatic int
CARD_IFABLE
Constant CARD_IFABLEstatic int
CARD_IFNEEDED
Constant CARD_IFNEEDEDstatic int
CARD_REQUIRED
Constant CARD_REQUIREDstatic int
TYPE_CERT
Constant TYPE_CERTstatic int
TYPE_KERBEROS
Constant TYPE_KERBEROSstatic int
TYPE_PASSWORD
Constant TYPE_PASSWORDstatic int
TYPE_RMI
Constant 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 Account
getAccount()
Gets value for attribute accountString
getCardNumber()
Gets value for attribute cardNumberString
getCell()
Gets value for attribute cellint
getCentinelPort()
Gets value for attribute centinelPortString
getChallengeId()
Gets value for attribute challengeIdHost
getClientHost()
Gets value for attribute clientHostint
getClientVersion()
Gets value for attribute clientVersionString
getDomain()
Gets value for attribute domainHost
getHost()
Gets value for attribute hostGSSContext
getKerberosContext()
Gets value for attribute kerberosContextString
getKerberosDomain()
Gets value for attribute kerberosDomainString
getOtpHandler()
Gets value for attribute otpHandlerPassword
getPassword()
Gets value for attribute passwordTimestamp
getTimeStamp()
Gets value for attribute timeStampint
getType()
Gets value for attribute typeUser
getUser()
Gets value for attribute userString
getUserKey()
Gets value for attribute userKeyString
getValue()
Gets value for attribute valueboolean
isAlternativeMethodAvailable()
Gets value for attribute alternativeMethodAvailableboolean
isCloseOldSessions()
Gets value for attribute closeOldSessionsboolean
isResendAvailable()
Gets value for attribute resendAvailableboolean
isSilent()
Gets value for attribute silentvoid
setAccount(Account account)
Sets value for attribute accountvoid
setAlternativeMethodAvailable(boolean alternativeMethodAvailable)
Sets value for attribute alternativeMethodAvailablevoid
setCardNumber(String cardNumber)
Sets value for attribute cardNumbervoid
setCell(String cell)
Sets value for attribute cellvoid
setCentinelPort(int centinelPort)
Sets value for attribute centinelPortvoid
setChallengeId(String challengeId)
Sets value for attribute challengeIdvoid
setClientHost(Host clientHost)
Sets value for attribute clientHostvoid
setClientVersion(int clientVersion)
Sets value for attribute clientVersionvoid
setCloseOldSessions(boolean closeOldSessions)
Sets value for attribute closeOldSessionsvoid
setDomain(String domain)
Sets value for attribute domainvoid
setHost(Host host)
Sets value for attribute hostvoid
setKerberosContext(GSSContext kerberosContext)
Sets value for attribute kerberosContextvoid
setKerberosDomain(String kerberosDomain)
Sets value for attribute kerberosDomainvoid
setOtpHandler(String otpHandler)
Sets value for attribute otpHandlervoid
setPassword(Password password)
Sets value for attribute passwordvoid
setResendAvailable(boolean resendAvailable)
Sets value for attribute resendAvailablevoid
setSilent(boolean silent)
Sets value for attribute silentvoid
setTimeStamp(Timestamp timeStamp)
Sets value for attribute timeStampvoid
setType(int type)
Sets value for attribute typevoid
setUser(User user)
Sets value for attribute uservoid
setUserKey(String userKey)
Sets value for attribute userKeyvoid
setValue(String value)
Sets value for attribute valuestatic Challenge
toChallenge(Challenge vo)
Creates a Challenge value object based on a Challenge object.static void
toChallenge(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.String
toString()
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.
-
-