View RSS Feed

Recent Blogs Posts

  1. Using jndi in user authentication

    by , 07-07-2012 at 05:28 PM
    JNDI is used as naming service. It is commonly used to give security mechanism to make users authenticated to access the system resources. Credentials and user information is stored in directory services as entries. It is worthy to point it out that security model is not defined by JNDI however security model is used which has been defined in directory service.

    Default initialContext is involved in creation of new Context that is in use of anonymous clients.
    Java Code:
    // Connect