This topic has 7 replies, 5 voices, and was last updated 2 years, 6 months ago by William Hepler.
-
AuthorPosts
-
July 28, 2016 at 12:01 pm #12298
srastogi
ParticipantHi All,
Could you please let us know how to change the “messageContent” and “messageSubject” in OpenAM OTP configuration (HOTP).
As per the document, we need to modify the amAuthHOTP.properties file, but unable to find the right path of the mentioned properties file. Could you please let us know the exact path to get the “amAuthHOTP.properties” file.
Thanks in advance.
Thanks,
July 28, 2016 at 3:15 pm #12300Rogerio Rondini
ParticipantHi,
This property file is located inside the HOTP module jar file “<openam war>/WEB-INF/lib/openam-auth-hotp-xxx.jar”
Abs,
Rogerio RondiniJuly 29, 2016 at 9:34 am #12315srastogi
ParticipantThanks alot Rogerio.
I am able to get the property file now in the above mentioned jar file.
Thanks,
November 20, 2019 at 7:57 am #27166subbu95
ParticipantHi ,
I would like to customize OTP Format as
messageContent=Your OpenAM One Time Password: XXXXXXX This One Time Password will remain valid for 5 minutes
Here how i can append validity time to SMS text
Where hotp.properties contains:
sunAMAuthHOTPAuthLevel=0
sunAMAuthHOTPSMSGatewayImplClassName=com.sun.identity.authentication.modules.hotp.DefaultSMSGatewayImpl
sunAMAuthHOTPSMTPHostName=smtp.gmail.com
sunAMAuthHOTPSMTPHostPort=465
sunAMAuthHOTPSMTPUserName=example
sunAMAuthHOTPSMTPUserPassword=secret123
sunAMAuthHOTPSMTPSSLEnabled=SSL
[email protected]
sunAMAuthHOTPPasswordValidityDuration=5 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>//
sunAMAuthHOTPPasswordLength=8
sunAMAuthHOTPasswordDelivery=E-mail
sunAMAuthHOTPAutoClicking=true
openamEmailAttribute=mailDecember 3, 2019 at 1:14 pm #27214Andy Cory
ParticipantPlease see the answer in the thread here -> https://forum.forgerock.com/topic/how-to-append-otp-validity-time-to-sms-message/
December 3, 2019 at 10:56 pm #27221William Hepler
ParticipantTheres a pretty good example here too of a similar customization :
https://forum.forgerock.com/2017/05/extending-openam-hotp-module-display-otp-delivery-details/December 4, 2019 at 12:19 pm #27224Andy Cory
ParticipantHi William – isn’t that example somewhat different? It displays a custom message on the AM confirmation page in the XUI, but doesn’t customise the text of the message sent to the mobile device as far as I can see.
-Andy
December 11, 2019 at 4:50 pm #27244William Hepler
ParticipantAndy your right, I thought it was still helpful to show how you may need to customize other packages to make deeper customizations. Since they are asking for updating mainly the Email your approach is correct.
-
AuthorPosts
You must be logged in to reply to this topic.