Package org.cyclos.entities.system
Class ChannelConfiguration
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.system.ChannelConfiguration
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,ChannelAccessAccessor,ChannelSettingsAccessor,IEntity
- Direct Known Subclasses:
SmsChannelConfiguration
@Entity public class ChannelConfiguration extends BaseEntity implements ChannelSettingsAccessor, ChannelAccessAccessor
Contains definitions for a given pair of configuration and channel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ChannelConfiguration()
-
Method Summary
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.system.ChannelAccessAccessor
getCredentials
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAccessPassword
public PasswordType getAccessPassword()
- Specified by:
getAccessPasswordin interfaceChannelAccessAccessor
-
getChannel
public Channel getChannel()
- Specified by:
getChannelin interfaceChannelAccessAccessor- Specified by:
getChannelin interfaceChannelSettingsAccessor
-
getConfiguration
public Configuration getConfiguration()
-
getConfirmation
public CredentialsConfiguration getConfirmation()
- Specified by:
getConfirmationin interfaceChannelAccessAccessor
-
getDefaultPrincipalType
public PrincipalType getDefaultPrincipalType()
- Specified by:
getDefaultPrincipalTypein interfaceChannelAccessAccessor
-
getIdentityProviders
public Set<IdentityProvider> getIdentityProviders()
- Specified by:
getIdentityProvidersin interfaceChannelAccessAccessor
-
getIpWhitelist
public String getIpWhitelist()
-
getLoginConfirmation
public CredentialsConfiguration getLoginConfirmation()
- Specified by:
getLoginConfirmationin interfaceChannelAccessAccessor
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getPayment
public PaymentPrincipalsConfiguration getPayment()
- Specified by:
getPaymentin interfaceChannelSettingsAccessor
-
getPinConfiguration
public PinChannelConfiguration getPinConfiguration()
- Specified by:
getPinConfigurationin interfaceChannelAccessAccessor
-
getPos
public PaymentPrincipalsConfiguration getPos()
- Specified by:
getPosin interfaceChannelSettingsAccessor
-
getPrincipalTypes
public Set<PrincipalType> getPrincipalTypes()
- Specified by:
getPrincipalTypesin interfaceChannelAccessAccessor
-
getPrincipalTypesAllowingQrCode
public Set<PrincipalType> getPrincipalTypesAllowingQrCode()
- Specified by:
getPrincipalTypesAllowingQrCodein interfaceChannelSettingsAccessor
-
getRegistrationWithIdentityProviders
public RegistrationWithIdentityProviders getRegistrationWithIdentityProviders()
- Specified by:
getRegistrationWithIdentityProvidersin interfaceChannelAccessAccessor
-
getSessionTimeout
public TimeInterval getSessionTimeout()
- Specified by:
getSessionTimeoutin interfaceChannelAccessAccessor
-
getTrustedDeviceOnStartup
public Integer getTrustedDeviceOnStartup()
- Specified by:
getTrustedDeviceOnStartupin interfaceChannelAccessAccessor
-
getUserAccess
public UserChannelAccess getUserAccess()
- Specified by:
getUserAccessin interfaceChannelAccessAccessor
-
getWhitelist
public InternetAddressList getWhitelist()
- Specified by:
getWhitelistin interfaceChannelAccessAccessor
-
isAllowLogin
public boolean isAllowLogin()
-
isCanBeDefined
public boolean isCanBeDefined()
-
isConfirmationOncePerSession
public boolean isConfirmationOncePerSession()
- Specified by:
isConfirmationOncePerSessionin interfaceChannelAccessAccessor
-
isDefined
public boolean isDefined()
-
isEnabled
public boolean isEnabled()
-
isLocked
public boolean isLocked()
-
isRequireAuthenticationForDeviceConfirmation
public boolean isRequireAuthenticationForDeviceConfirmation()
- Specified by:
isRequireAuthenticationForDeviceConfirmationin interfaceChannelAccessAccessor
-
isRequireTrustedDeviceForLogin
public boolean isRequireTrustedDeviceForLogin()
- Specified by:
isRequireTrustedDeviceForLoginin interfaceChannelAccessAccessor
-
isSkipConfirmationForTrustedDevices
public boolean isSkipConfirmationForTrustedDevices()
- Specified by:
isSkipConfirmationForTrustedDevicesin interfaceChannelAccessAccessor
-
isUseIpWhitelist
public boolean isUseIpWhitelist()
- Specified by:
isUseIpWhitelistin interfaceChannelAccessAccessor
-
setAccessPassword
public void setAccessPassword(PasswordType accessPassword)
-
setAllowLogin
public void setAllowLogin(boolean allowLogin)
-
setCanBeDefined
public void setCanBeDefined(boolean canBeDefined)
-
setChannel
public void setChannel(Channel channel)
-
setConfiguration
public void setConfiguration(Configuration configuration)
-
setConfirmation
public void setConfirmation(CredentialsConfiguration confirmation)
-
setConfirmationOncePerSession
public void setConfirmationOncePerSession(boolean confirmationOncePerSession)
-
setDefaultPrincipalType
public void setDefaultPrincipalType(PrincipalType defaultPrincipalType)
-
setDefined
public void setDefined(boolean defined)
-
setEnabled
public void setEnabled(boolean enabled)
-
setIdentityProviders
public void setIdentityProviders(Set<IdentityProvider> identityProviders)
-
setLocked
public void setLocked(boolean locked)
-
setLoginConfirmation
public void setLoginConfirmation(CredentialsConfiguration loginConfirmation)
-
setPayment
public void setPayment(PaymentPrincipalsConfiguration payment)
-
setPinConfiguration
public void setPinConfiguration(PinChannelConfiguration pinConfiguration)
-
setPos
public void setPos(PaymentPrincipalsConfiguration pos)
-
setPrincipalTypes
public void setPrincipalTypes(Set<PrincipalType> principalTypes)
-
setPrincipalTypesAllowingQrCode
public void setPrincipalTypesAllowingQrCode(Set<PrincipalType> principalTypesAllowingQrCode)
-
setRegistrationWithIdentityProviders
public void setRegistrationWithIdentityProviders(RegistrationWithIdentityProviders registrationWithIdentityProviders)
-
setRequireAuthenticationForDeviceConfirmation
public void setRequireAuthenticationForDeviceConfirmation(boolean requireAuthenticationForDeviceConfirmation)
-
setRequireTrustedDeviceForLogin
public void setRequireTrustedDeviceForLogin(boolean requireTrustedDeviceForLogin)
-
setSessionTimeout
public void setSessionTimeout(TimeInterval sessionTimeout)
-
setSkipConfirmationForTrustedDevices
public void setSkipConfirmationForTrustedDevices(boolean skipConfirmationForTrustedDevices)
-
setTrustedDeviceOnStartup
public void setTrustedDeviceOnStartup(Integer trustedDeviceOnStartup)
-
setUserAccess
public void setUserAccess(UserChannelAccess userAccess)
-
setWhitelist
public void setWhitelist(InternetAddressList whitelist)
-
-