Class MSSOPrincipalConfig

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_Persistent, I_SSO_PrincipalConfig, Evaluatee

public class MSSOPrincipalConfig extends X_SSO_PrincipalConfig
SSO Principal Service Configuration
See Also:
  • Field Details

    • WELL_KNOWN_OPENID_CONFIGURATION_SUFFIX

      public static final String WELL_KNOWN_OPENID_CONFIGURATION_SUFFIX
      Ending for well-known openid configuration URL
      See Also:
  • Constructor Details

    • MSSOPrincipalConfig

      public MSSOPrincipalConfig(Properties ctx, int SSO_PrincipalConfig_ID, String trxName)
      Parameters:
      ctx -
      SSO_PrincipalConfig_ID -
      trxName -
    • MSSOPrincipalConfig

      public MSSOPrincipalConfig(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • getDefaultSSOPrincipalConfig

      @Deprecated public static MSSOPrincipalConfig getDefaultSSOPrincipalConfig()
      Deprecated.
    • getDefaultSSOPrincipalConfig

      public static MSSOPrincipalConfig getDefaultSSOPrincipalConfig(int AD_Client_ID)
      Get default SSO Principal Configuration by client
      Parameters:
      AD_Client_ID -
      Returns:
    • getSSOPrincipalConfig

      public static MSSOPrincipalConfig getSSOPrincipalConfig(String uuID)
      Get SSO Principal Configuration by UUID
      Parameters:
      uuID -
      Returns:
    • getAllSSOPrincipalConfig

      @Deprecated public static List<MSSOPrincipalConfig> getAllSSOPrincipalConfig()
      Deprecated.
    • getSSOPrincipalConfigByClient

      public static List<MSSOPrincipalConfig> getSSOPrincipalConfigByClient(int AD_Client_ID)
      Get SSO Principal Configurations by client
      Parameters:
      AD_Client_ID -
      Returns:
      list of SSO Principal Configurations
    • getBase64Src

      public String getBase64Src()
      Generates a Base64-encoded image source string or retrieves the image URL. If binary data is available, it is encoded in Base64 and prefixed for direct use in HTML image tags. If no binary data exists but an image URL is available, the URL is returned.
      Returns:
      a string containing a Base64-encoded image source or the image URL, or null if neither is available
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - true if it is a new record
      Returns:
      true if record can be saved
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      Description copied from class: PO
      Called after Save for Post-Save Operation.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - true if it is a new record
      success - true if save operation was success
      Returns:
      if save was a success