Class PushDeviceSettings
- java.lang.Object
-
- org.forgerock.openam.core.rest.devices.DeviceSettings
-
- org.forgerock.openam.core.rest.devices.push.PushDeviceSettings
-
public final class PushDeviceSettings extends DeviceSettings
Data model representation of an Push device's settings.- Since:
- 13.5.0
-
-
Field Summary
-
Fields inherited from class org.forgerock.openam.core.rest.devices.DeviceSettings
recoveryCodes, uuid
-
-
Constructor Summary
Constructors Constructor Description PushDeviceSettings()Empty no-arg constructor for Jackson usage, due to presence of non-default constructor.PushDeviceSettings(String sharedSecret, String deviceName)Construct a new PushDeviceSettings object with the provided values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCommunicationId()Get the communication ID for the Push device on the communication network.StringgetCommunicationType()Get the communication ID for the Push device on the communication network..StringgetDeviceId()Get the arbitrary identifier for the Push device.StringgetDeviceMechanismUID()Get the Device Mechanism ID for the push device.StringgetDeviceName()Get the arbitrary identifier for the Push device.StringgetDeviceType()Get the type of the Push device.StringgetIssuer()Get the issuer of the Push device.StringgetSharedSecret()Get the secret value which is shared between the OATH device and an authenticating module.inthashCode()voidsetCommunicationId(String communicationId)Set the communication ID used to reference the user's handset on the wire.voidsetCommunicationType(String communicationType)The communication medium used to commune with this devicevoidsetDeviceId(String deviceId)Set the device ID used to reference the user's handset.voidsetDeviceMechanismUID(String deviceMechanismUID)Set the Device Mechanism ID.voidsetDeviceName(String deviceName)Set an arbitrary identifier for the device.voidsetDeviceType(String deviceType)The type of device we are communicating with.voidsetIssuer(String issuer)The name of the issuer when this device profile was issued.voidsetSharedSecret(String sharedSecret)Set the secret value which is shared between the Push device and an authenticating module.StringtoString()-
Methods inherited from class org.forgerock.openam.core.rest.devices.DeviceSettings
getRecoveryCodes, getUUID, setRecoveryCodes, setUUID
-
-
-
-
Method Detail
-
setCommunicationId
public void setCommunicationId(String communicationId)
Set the communication ID used to reference the user's handset on the wire.- Parameters:
communicationId- The communication id. Can not be null.
-
setDeviceId
public void setDeviceId(String deviceId)
Set the device ID used to reference the user's handset.- Parameters:
deviceId- The device id. Can not be null.
-
setSharedSecret
public void setSharedSecret(String sharedSecret)
Set the secret value which is shared between the Push device and an authenticating module.- Parameters:
sharedSecret- The shared secret. Can not be null.
-
setDeviceName
public void setDeviceName(String deviceName)
Set an arbitrary identifier for the device.- Parameters:
deviceName- The identifier. Can not be null.
-
setDeviceMechanismUID
public void setDeviceMechanismUID(String deviceMechanismUID)
Set the Device Mechanism ID.- Parameters:
deviceMechanismUID- The identifier (unique on the phone) to the specific mechanism.
-
setCommunicationType
public void setCommunicationType(String communicationType)
The communication medium used to commune with this device- Parameters:
communicationType- The communication medium.
-
setDeviceType
public void setDeviceType(String deviceType)
The type of device we are communicating with.- Parameters:
deviceType- The device type (likely ios or android).
-
setIssuer
public void setIssuer(String issuer)
The name of the issuer when this device profile was issued.- Parameters:
issuer- The name of the issuer.
-
getSharedSecret
public String getSharedSecret()
Get the secret value which is shared between the OATH device and an authenticating module.- Returns:
- The shared secret.
-
getDeviceName
public String getDeviceName()
Get the arbitrary identifier for the Push device.- Returns:
- The identifier.
-
getCommunicationId
public String getCommunicationId()
Get the communication ID for the Push device on the communication network.- Returns:
- The communication identifier.
-
getDeviceMechanismUID
public String getDeviceMechanismUID()
Get the Device Mechanism ID for the push device.- Returns:
- the Device Mechanism ID.
-
getDeviceType
public String getDeviceType()
Get the type of the Push device.- Returns:
- The identifier.
-
getDeviceId
public String getDeviceId()
Get the arbitrary identifier for the Push device.- Returns:
- The identifier.
-
getIssuer
public String getIssuer()
Get the issuer of the Push device.- Returns:
- The issuer.
-
getCommunicationType
public String getCommunicationType()
Get the communication ID for the Push device on the communication network..- Returns:
- The communication identifier.
-
-