Hi,

I'm new to JBoss/JAAS. Working on a project to retrieve JMX information from  
JBoss in secure environment. 

The client program written with  code

props.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.LoginInitialContextFactory");
props.put(Context.PROVIDER_URL, "jnp://localhost:1099");
props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
props.put(Context.SECURITY_PRINCIPAL, name);
props.put(Context.SECURITY_CREDENTIALS, password);

is failing with "java.lang.SecurityException: Unable to locate a login 
configuration" errors. 

The JBoss command line utility twiddle.bat works fine with the authentication 
information retrieving the data from JBoss. 

Can somebody help in this regard to get this working as making the client 
connect with security is very essential.  

Thanks,
Krishna


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947070#3947070

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947070


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to