What is a Wallet?
Wallet (defined in com.borland.security.Wallet) is a user visible credential store. It is extended by the authentication mechanism providers to allow client code to pass authentication information to the security service. So that you can make use of the object to login to the system programmatically, put the credentials into the Subject holder, and make authorization decision based on the information later on. Two types of Wallets come out-of-box with security services, namely IdentityWallet (defined in com.borland.security.provider.IdentityWallet) and CertificateWallet (defined in com.borland.security.provider.CertificateWallet), which represents username/password-based identity and certificate based identity respectively.