Click here to Skip to main content
15,892,674 members
Articles / Web Development / HTML

ASP.NET - Password Strength Indicator using jQuery and XML

Rate me:
Please Sign up or sign in to vote.
4.88/5 (88 votes)
31 Jul 2012CPOL8 min read 302.5K   2.8K   185  
ASP.NET Password Strength Indicator somewhat similar to AJAX PasswordStrength extender control behavior and implemented by using jQuery and XML.
using System;
using System.Web;

/// <summary>
/// Summary description for PasswordSetting
/// </summary>
public class PasswordSetting
{
	public PasswordSetting()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    //password age , 80, 180, 360 days
    public int Duration { get; set; }
    
    //password minimum length
    public int MinLength { get; set; }

    //password maximum length
    public int MaxLength { get; set; }

    //password Numbers length
    public int NumsLength { get; set; }

    //password Upper letter length
    public int UpperLength { get; set; }

    //password Special character length
    public int SpecialLength { get; set; }

    //password valid special characters
    public string SpecialChars { get; set; }



}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I have over 10 years of experience working with Microsoft technologies. I have earned my Microsoft Certified Technology Specialist (MCTS) certification. I'm a highly motivated self-starter with an aptitude for learning new skills quickly.

Comments and Discussions