Class EsupOtpMethod

java.lang.Object
org.esupportail.cas.adaptors.esupotp.EsupOtpMethod
All Implemented Interfaces:
Serializable

public class EsupOtpMethod extends Object implements Serializable
This is EsupOtpMethod.
Since:
5.0.0
See Also:
  • Constructor Details

    • EsupOtpMethod

      public EsupOtpMethod()
      Instantiates a new Esup Otp method.
    • EsupOtpMethod

      public EsupOtpMethod(String name, Boolean active, List<String> transports)
      Instantiates a new Esup Otp method.
      Parameters:
      name - the method name
      active - is the method active
      transports - the transports
    • EsupOtpMethod

      public EsupOtpMethod(String name, org.json.JSONObject methodJson)
  • Method Details

    • toStringList

      public static List<String> toStringList(org.json.JSONArray array) throws org.json.JSONException
      Throws:
      org.json.JSONException
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getActive

      public Boolean getActive()
    • setActive

      public void setActive(Boolean active)
    • getTransports

      public List<String> getTransports()
    • setTransports

      public void setTransports(List<String> transports)