Class MFAServiceUtil


  • public class MFAServiceUtil
    extends java.lang.Object
    MFA Service utilities.
    Since:
    16.1.0
    Version:
    $Revision: 26157 $ $Date: 2024-01-13 11:35:03 -0300 (Sat, 13 Jan 2024) $
    • Constructor Summary

      Constructors 
      Constructor Description
      MFAServiceUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Tuple2<java.lang.String,​java.lang.String> getEmailTemplate​(java.lang.String serviceInstanceId)
      Get email template for the given mfa service instance
      static Tuple2<java.lang.String,​java.lang.String> getEmailTemplateFromId​(java.lang.String serviceInstanceId, java.lang.String emailTemplateId)
      Get the email template for a specific templateId in te given mfa service instance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MFAServiceUtil

        public MFAServiceUtil()
    • Method Detail

      • getEmailTemplate

        public static Tuple2<java.lang.String,​java.lang.String> getEmailTemplate​(java.lang.String serviceInstanceId)
                                                                                throws PortalException
        Get email template for the given mfa service instance
        Parameters:
        serviceInstanceId -
        Returns:
        the email body and subject template values
        Throws:
        PortalException
        Since:
        16.1.0
      • getEmailTemplateFromId

        public static Tuple2<java.lang.String,​java.lang.String> getEmailTemplateFromId​(java.lang.String serviceInstanceId,
                                                                                             java.lang.String emailTemplateId)
                                                                                      throws PortalException
        Get the email template for a specific templateId in te given mfa service instance
        Parameters:
        serviceInstanceId -
        emailTemplateId -
        Returns:
        the email body and subject template values
        Throws:
        PortalException
        Since:
        16.1.0