[jboss-user] [JBoss Portal] - Re: help needed in LDAP authentication in portal environ.
rammy1984
do-not-reply at jboss.com
Wed Feb 27 15:22:52 EST 2008
UserModule module = (UserModule) new InitialContext().lookup("java:/portal/UserModule");
RoleModule roleModule =(RoleModule) new InitialContext().lookup("java:/portal/RoleModule");
UserProfileModule userProfileModule = (UserProfileModule) new InitialContext().lookup("java:/portal/UserProfileModule");
MembershipModule membershipModule = (MembershipModule) new InitialContext().lookup("java:/portal/MembershipModule");
when im using the above code to lookup JNDI and getting the services iam not able to do a package with Maven.
this is the stack trace
Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
is there any way to do this in a abstract way ?????
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132628#4132628
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132628
More information about the jboss-user
mailing list