Thanks,
So if my remote client has the following lines ,
is it sufficient to handle the security ?Or do i need to
consider some other aspects also.
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
props.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces);
props.put(Context.PROVIDER_URL, str[1]); // URL
props.put(Context.SECURITY_PRINCIPAL, str[2]); //Username
props.put(Context.SECURITY_CREDENTIALS, str[3]); //Password
InitialContext context = new InitialContext(props);
Object obj = context.lookup( ejb/mgmt/MEJB );
ManagementHome home = (ManagementHome)
PortableRemoteObject.narrow(obj,ManagementHome.class);
server = home.create();
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3855850#3855850
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855850
---
SF email is sponsored by - The IT Product Guide
Read honest candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user