• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Smart Card Problem in Java with server

 
Afsun Khammadli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody.I am using smart card authentication in my web application.Everything is ok on my localhost.I can login with password.When I deployed application in server.Server does not read data from smart card but when I connect with remote desktop I can read data from smart card.I do not know the reason.Any idea?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The smart card reader is a physical device attached to your local machine? How does it interact with the web app?
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

Based on the information you have provided, looks like you need to move the 'card reading logic" from the server to the client. It would be better if you TellTheDetails
 
Afsun Khammadli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes smart card is physical device.
 
Afsun Khammadli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I open application in my computer's browser which is deployed on server.If also I connected with RDP to this server which my application deployed everything is ok.When I close RDP I get exception.Message of exception is "Token has been removed".
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the device is connected to your local machine, not the server? Again, how does it interact with the web app?
 
Afsun Khammadli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes smart card connect to my local machine but my app is in server.Problem is that I think the server did not know smart card connected or not.But when remote desktop connected to server server know smart card is ok.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like this is the crucial question:
Again, how does it interact with the web app?

What should be interacting with the card reader is the web page, not the web app.
 
Afsun Khammadli
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


This is my method which I pass password and it return cert as String
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic