Class SecureAdmin.Util

  • Enclosing interface:
    SecureAdmin

    public static class SecureAdmin.Util
    extends Object
    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • isEnabled

        public static boolean isEnabled​(SecureAdmin secureAdmin)
        Reports whether secure admin is enabled.
        Parameters:
        secureAdmin - the SecureAdmin, typically returned from domain.getSecureAdmin()
        Returns:
        true if secure admin is enabled; false otherwise
      • configuredAdminIndicator

        public static String configuredAdminIndicator​(SecureAdmin secureAdmin)
        Returns the configured (which could be the default) value for the special admin indicator.
        Parameters:
        secureAdmin - the SecureAdmin, typically returned from domain.getSecureAdmin()
        Returns:
        the current value for the admin indicator
      • isUsingUsernamePasswordAuth

        public static boolean isUsingUsernamePasswordAuth​(SecureAdmin secureAdmin)