Disabling normal login and only using smart card login?

I've managed to setup login using BELPIC (Belgian Identity Card (smart card). However I can still login using username/password. Is it possible to restrict the system only using smart card login? (maybe via tweaking the authorize file?)
Thanks

The problem isn't with the provider part of the code - it has to do with security privleges. Java code running from the command line has full access to the file-system. Servlets running inside a container do not.
In order to access cryptographic keystores, the JVM must allow the servlet code to access local files (and through them, the device drivers to the crypto token). Servlet code running inside a web/application server container, by design, are restricted in their ability to access local files on the servlet container machine (other than configuration files and application code under the servlet context root).
In order to continue with my project, I had to temporarily provide the servlet full access to the machine's file-system in the java.policy file for your JVM, along the lines of the following:
grant {
permission java.security.SecurityPermission "authProvider.SunPKCS11-NSS", "getSignerPrivateKey";
I hope to go back and restrict this access so that only the specific security grants are available to the servlet to access the private key (the above is too lenient).
You will need to do something similar to your JVM's java.policy to allow the servlet to access the private key. Substitute the "authProvider.SunPKCS11-NSS" with the driver for your own token.

Similar Messages

  • I want to remove my credit card from my account and only use gift cards for purchases. How can I delete my card number?

    I want to delete my credit card from my account and only use gift cards.  How can I delete my card number?

    You'll want to get in touch with ITunes support for this. Normally when you start an account with the CC you can't remove it yourself. But by contacting iTunes they can get that taken off for you.
    Use this link to get in touch with the iTunes advisors
    http://www.apple.com/lae/support/itunes/contact.html

  • HT1918 How do I remove credit card information from my account and only use iTunes cards?

    I put my credit card information in to purchase an audiobook because I didn't have enough redeemed iTunes $...and now I'm not able to remove my credit card. I've since redeemed more iTunes cards, and iTunes won't let me use the credit on my account, it still keeps going to my credit card. HELP!

    Hi Alexis ...
    I need to change my last name and address on account.
    Help here >  How to change the name you use for your Apple ID
    I would like to remove credit card info from account and only use iTunes prepaid cards.
    Help here >  Create an iTunes App Store account without a credit card

  • HT2534 I want to remove my credit card info and only use iTunes cards

    I want to remove my credit card info on iTunes and just use iTunes cards

    Go to http://www.apple.com/support/itunes/account/ and look under Managing Your Account Section and click on Changing Account Information or http://support.apple.com/kb/HT1918
    Hope this Helps
    Let me know.

  • XML Signatures using Smart Cards

    Hello guys,
    I know this is not exactly a javacard topic, but I think this forum is where I 'll get the best replies.
    We need to perform XML document signatures and verification using smart card stored certificates. The certificates are created using Microsoft Windows 2003 CA and stored in the cards using the cards' CSP.
    I have a notion on the libraries that I am going to have to use:
    - sun.security.pkcs11 for the smart card access,
    - java.security.* for cryptography stuff (keystore, public-privateKey etc.),
    - sun.security.cert.X509Certificate for the certificates,
    - org.apache.xml for the xml documents.
    Could you please verify that I am heading to the correct direction? I would be glad if you could suggest suitable starting points, similar scenarios etc. If you think that there is a more appropriate forum for my question please tell me so.
    Thanks in advance for your help.

    yes you are moving towards right directiong actualy PKCS11 is a standard that is used for hardware cryptographic operations so it would be used for smart cards 2. I'll suggest u to use a wrapper and provider API given by IAIK it would help u a lot and will also ease ur work

  • Smart card login and sparsebundle password

    Hi,
    I am using a PIV profiled card to login to my mac. I am using Snow Leopard 10.6.2 and have successfully used the card to login to the machine and do signed and encrypted emails. Every login I get prompted after smart card login for the password for my sparsebundle (I had been using filevault prior to introducing the card) and even though I tick the "save password" option I still am prompted on each login. Does anyone know if there is any way to associate my smartcard login with an existing sparsebundle? Also, is there any way to force the machine to use a smart card login only (i.e. remove the password option)?
    Many thanks
    Michael

    I'm guessing that since you are not entering a password, the sparse bundle is not being unlocked. I don't know of a way to tie it to the smart card login. It sounds similar to when you put a different password on your default keychain. It won't unlock on login because you are not entering its password.

  • TACACS+ and Smart Card login

    We are currently using Cisco ACS 5.3 integrated with Active Directory for authentication to our Cisco devices. We are looking to move to smart card logins and trying to find out if this is possible to authenticate to the console/ssh on the router/switch using a smart card.

    Direct Smart card authentication is not supported for vty / console session on IOS. However, via TACACS to a AAA server (e.g. Cisco ACS) you can turn it to use a two factor-based external authentication store. Even if the Smart card get the PKI cert of some kind to the client PC and then to the terminal emulator like Putty or SecureCRT, AAA with Tacacs + would not be possible as Tacacs is not capable for encapsulating any kind of PKI.
    Jatin Katyal
    - Do rate helpful posts -

  • Hii, i got an iTunes card for $15 and only used $6 in it, but it say I only have $0.37 left. If any one could help me with this, I will be forever grateful.

    Hii, i got an iTunes card for $15 and only used $6 in it, but it say I only have $0.37 left. If any one could help me with this, I will be forever grateful.

    You will need to Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT3702 I would like to remove the credit card info from my account and only use iTunes prepaid cards. How do I take care of this and make sure that payment will be taken from iTunes cards? Thanks

    I would like to remove credit card info from account and only use iTunes prepaid cards. How do I take care of this and make sure payments are takin from the iTunes cards? Also, I need to change my last name and address on account.

    Hi Alexis ...
    I need to change my last name and address on account.
    Help here >  How to change the name you use for your Apple ID
    I would like to remove credit card info from account and only use iTunes prepaid cards.
    Help here >  Create an iTunes App Store account without a credit card

  • HT201263 Hi All, My iphone Model A1387 EMC 2430 FCC ID:BCG-E2430A IC:579C-E2430A and i am unable to activate my iPhone shows SIM Not Valid and Only compatible SIM cards from a supported carrier may be used to activate iPhone. Please insert the SIM card th

    Hi, My iphone Model A1387 EMC 2430 FCC ID:BCG-E2430A IC:579C-E2430A and i am unable to activate my iPhone shows SIM Not Valid and Only compatible SIM cards from a supported carrier may be used to activate iPhone.or visit a supported career 's store to receive a replacement sim card.
    how can i solve this?? please let me know.
    thank you.

    Sounds like the iPhone is locked to the original Carrier
    and you are trying to use  a sim from another carrier
    and only that original  carrier can unlock the iPhone

  • Just upgraded to a 6. I want to use my old 4S as an iPod touch. Is there a way to disable the phone and only have wi-fi?

    Just upgraded to a 6. I want to use my old 4S as an iPod touch. Is there a way to disable the phone and only have wi-fi?

    Did you transfer the telephone number from the old phone to the new phone?  If you did, I don't see how you could still have cellular service, even if you turned it off in settings.

  • I redeemed my iTunes $25 card yesterday and only used $2.00 but it does not show in my account.  I'm trying to make a purchase but it just wants my credit card info

    I redeemed my iTunes $25 card yesterday and only used $2.00 but it does not show in my account.  I'm trying to make a purchase but it just wants my credit card info

    Go to Apple logo (top left) > App Store > Store (Top row of options) > view my account > log in > then edit the details.

  • ITunes gift card indicates it is redeemed and only used 99cents out of $15

    iTunes gift card indicates it is redeemed and only used 99cents out of $15

    I don't understand.
    Redeemed means the card amount was added to your iTunes account.
    and only used 99cents out of $15
    If you purchased one song, that would be the 99 cents you used.

  • HT3702 why is my credit card being charged, i only use itune cards .you are charging my itune card and my credit card

    why is my credit card being charged, i only use itune cards .you are charging my itune card and my credit card

    These are user-to-user forums, you are not talking to Apple here. If you add or change your credit card details then you will probably receive a temporary holding charge ($1), which should disappear within a few days (holding charges). If it's not a holding charge then you can contact iTunes support and ask for help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • How to configure smart card login in sunray 2fs??

    Hi all,
    Please help me to configure smart card login using Sun Ray Server Software 4.0... How to assign a smart card for a particular user? Do I need to flash th smart card for user information or any other method exists?

    I'm not sure what you know or don't know about this so I'll give you what I know:
    1. Create a token reader and a token
    * Plugin a Sun Ray DTU/client
    * Check the MAC address of the Sun Ray you just plugged in
    * Access the Sun Ray admin GUI
    * Choose the 'Desktop Units' tab
    * See if your Sun Ray DTU is listed (if it isn't listed you have Sun Ray Server configuration issues...)
    * If it is listed click the identifier
    * Check the status of the DTU to see if this particular unit is already a token reader (normally it is not, i.e. by default a Sun Ray DTU is not)
    * Click 'Edit'
    * Check 'Token Reader'
    * Click 'OK'
    * /opt/SUNWut/sbin/utrestart (I'm not sure if a warm restart is OK or a hard restart is necessary)
    Now insert a shiny new Java card into your token reader's slot
    * In the Sun Ray admin GUI choose the 'Tokens' tab
    * Search for currently used tokens
    * You should see a token identifier such as 'Payflex.blah' under your desktop unit (i.e. the token reader)
    * Click the token identifier and click 'Edit'
    * Assign a username (i.e. Unix username) to the token under 'Owner'
    * Click 'OK' and remove the smart card from the token reader
    2. Assign the Token
    * Insert your smart card from step 1 into the token reader
    * In the Sun Ray GUI click 'Tokens' and 'New'
    * Under 'Identifier' you should see 'Read Identifier from Token Reader' checked
    * Click 'Read Token'
    * Assign an owner (i.e. Unix user account) and a session type (Kiosk or Regular)
    * Click 'OK'
    Item 2 from the notes I used for this looks alot like item 1 so I can't say that it is strictly necessary.
    I don't have a Sun Ray Server accessible to me at the moment to confirm but this procedure should help I hope.

Maybe you are looking for

  • External monitor usage with Satellite A100-PSAA9

    I have a problem when I connect a 2º external monitor, it connect but next it disconect , it's always connecting and disconecting. I made the update of display driver and bios but I still have the same problem, what can i do? My operating system is w

  • What word processing programs come on a mac mini

    also is there any good free ones for a mac? thanks

  • Moving WinXP photos to Mac iPhoto

    I'm brand new to this forum. Currently, I use a Windows XP system but am on the cusp of switching platforms to iMac. I have perhaps 3,000 images to transfer over. Some are from digital cameras but others are scanned 35mm slides and black & white nega

  • Oracle Grid Siebel Agent Documentation

    I am looking for any Oracle Grid Siebel Agent documentation. I recently implemeted the Siebel Agent within Oracle Grid 10.2.0.4 and am looking for any documentation around configuring the metrics that come with the Siebel Agent. It appears that it is

  • Formatting for iBooks

    I have formatting problems when I download books from iBooks. Apostrophes and commas appear as the letter a with the symbol ^ above it. Is there a setting I can change to correct this?