...
1. Choose File → New → Project.
2. Select J2EE Server Components → Library. Choose Next.
3. Specify MyLoginModuleLibrary as name of the library.
4. Choose Finish.
Under J2EE Development Perspective in the J2EE Explorer you can see the following result:
Result Preview
Making Reference to the Security Provider Service