on 08-28-2009 10:55 AM
hi SDN,
I am trying to access the J2EE Engine Keystore with the following set of codes
KeyStore keyStore=null;
InitialContext ctx = new InitialContext();
Object obj = (Object) ctx.lookup("keystore");
KeystoreManager manager = (KeystoreManager) obj;
keyStore = manager.getKeystore("DEFAULT");
String alias = "verify_test";
SsfProfileKeyStore profile = new SsfProfileKeyStore(keyStore, alias, null);
String SubjectDN = profile.getCertificate().getSubjectDN().getName();
response.write("SubjectDN"+SubjectDN);
But this particular line of code
KeystoreManager manager = (KeystoreManager) obj;
is not getting executed...
Could anyone tell me as to why it is not executing...Any corrections to be done?
Thanks & Regards,
p188071
p188071,
Please check these pages.
They may be of some help...
http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/security/lib/KeyStoreManager.html
Regards,
Ritu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.