The login design here is primarily for ASP .
I. Some requirements of design
1. Provides 2 extension points, one User Object model interface (IUSER), and the other is the member access Interface (Imembershipservice).
2. Use the authentication implementation class provided by ASP, which guarantees the security of this authentication function.
Second, class diagram design
Third, the description
In the class diagram, 1 and 2, which is my public interface, is used to create the user, authenticate the user's password when logging in, and so on. We can implement this 2 interface to achieve the function we want.
3, where the application and ASP are interacting, using the ASP-Recommended form authentication scheme to ensure the security of our certifications. This part of the code changes without hitting, all encapsulated together.
Not to be continued.
ASP. NET MVC Login Design