Class SmsProperties
java.lang.Object
org.apereo.cas.configuration.model.support.sms.SmsProperties
- All Implemented Interfaces:
Serializable
,CasFeatureModule
@RequiresModule(name="cas-server-core-util",
automated=true)
public class SmsProperties
extends Object
implements CasFeatureModule, Serializable
This is
SmsProperties
.- Since:
- 5.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
CasFeatureModule.FeatureCatalog
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPrincipal attribute name that indicates the destination phone number for this SMS message.getFrom()
The from address for the message.getText()
The body of the SMS message.setAttributeName
(String attributeName) Principal attribute name that indicates the destination phone number for this SMS message.The from address for the message.The body of the SMS message.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apereo.cas.configuration.features.CasFeatureModule
isDefined, isUndefined
-
Constructor Details
-
SmsProperties
public SmsProperties()
-
-
Method Details
-
getText
The body of the SMS message. -
getFrom
The from address for the message. -
getAttributeName
Principal attribute name that indicates the destination phone number for this SMS message. The attribute must already be resolved and available to the CAS principal. -
setText
The body of the SMS message.- Returns:
this
.
-
setFrom
The from address for the message.- Returns:
this
.
-
setAttributeName
Principal attribute name that indicates the destination phone number for this SMS message. The attribute must already be resolved and available to the CAS principal.- Returns:
this
.
-