• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

NIS Authentication

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a network information name service (NIS) server. I keep reading about the JNDI being used with LDAP, but I heard that the JNDI can work with NIS. To begin, my expertise with the JNDI is very shallow.

I created a simple JDBC applet for our operators that can change the passwords of Oracle users. As a security measure, I was asked if there was a way so an operator authenticates to use the applet. I was thinking about authenticating the operators through NIS on our UNIX system just to change passwords, not even using the UNIX shell.

My first hurdle is learning how to prompt in an applet for the authenticating password without it displaying in clear text. The only thing I can think of is using a JOptionPane.showInputDialog() to obtain the username and password. Using JNDI, authenticating to the NIS server.

I have no idea where I would begin.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic