Hi,

I am currently new to SSPR. We have a requirement for sending the token via sms&Email. As of now i was able to configure the Email settings successfully.

But facing issues in the SMS Gateway configuration.

As of now i have the key parameters like,
1. SMS Gateway URL
2. API Key, which needs to be send via headers.
3. And its a JSON based API.

Could anyone please point/guide me to configure the SMS Gateway with the above parameters. Also apart from this any thing i have to look into.

Gave try to configure, I am getting below errors in the tomcat.

2017-05-15T13:07:05Z, FATAL, servlet.PwmServlet, 5015 ERROR_UNKNOWN (unexpected error processing request: null
java.lang.NullPointerException
at java.lang.String.replace(Unknown Source)
at password.pwm.util.queue.SmsQueueManager$SmsSendEng ine.sendSms(SmsQueueManager.java:404)
at password.pwm.util.queue.SmsQueueManager.sendDirect Message(SmsQueueManager.java:495)
at password.pwm.http.servlet.ConfigEditorServlet.rest SmsHealthCheck(ConfigEditorServlet.java:659)
at password.pwm.http.servlet.ConfigEditorServlet.proc essAction(ConfigEditorServlet.java:189)
at password.pwm.http.servlet.PwmServlet.handleRequest (PwmServlet.java:111)
at password.pwm.http.servlet.PwmServlet.doPost(PwmSer vlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:727)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilt er(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at password.pwm.http.filter.AbstractPwmFilter$PwmFilt erChain.doFilter(AbstractPwmFilter.java:100)
at password.pwm.http.filter.AuthenticationFilter.proc essAuthenticatedSession(AuthenticationFilter.java: 156)
at password.pwm.http.filter.AuthenticationFilter.proc essFilter(AuthenticationFilter.java:97)
at password.pwm.http.filter.AbstractPwmFilter.doFilte r(AbstractPwmFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at password.pwm.http.filter.AbstractPwmFilter$PwmFilt erChain.doFilter(AbstractPwmFilter.java:100)
at password.pwm.http.filter.SessionFilter.processFilt er(SessionFilter.java:86)
at password.pwm.http.filter.AbstractPwmFilter.doFilte r(AbstractPwmFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at password.pwm.http.filter.AbstractPwmFilter$PwmFilt erChain.doFilter(AbstractPwmFilter.java:100)
at password.pwm.http.filter.ApplicationModeFilter.pro cessFilter(ApplicationModeFilter.java:69)
at password.pwm.http.filter.AbstractPwmFilter.doFilte r(AbstractPwmFilter.java:62)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at password.pwm.http.filter.RequestInitializationFilt er.doFilter(RequestInitializationFilter.java:94)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at password.pwm.http.filter.GZIPFilter.doFilter(GZIPF ilter.java:72)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.p rocess(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnect ionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProce ssor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$Wrapping Runnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
)

Thanks in advance.