[JBoss-user] [Security JAAS/JBoss] - Security exception
Hello, Hey i am facing a strange problem. When i run the jboss server a get a security exception (java.lang.security) exception. Can any one tell me the reason why this exception is thrown. And please tell the solution too. Please it is urgent Regards Pranamya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3914385#3914385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914385 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Security exception when removing stateful EJB
Hi all, My web application has a protected stateful EJB that is accessed by a servlet. I use JAAS authentication to the servlet and EJB. At the first access after authentication, the servlet creates an instance of the stateful EJB and stores the EJB's handle in a private variable. This handle is used to execute methods on the stateful EJB in the next access to the servlet. It is working well. When the servlet is removed, i would like to remove also the bean instance, but when i try to call remove on the EJBObject returned by the handle, i get an exception: 10:52:58,766 ERROR [LogInterceptor] EJBException, causedBy: java.lang.SecurityException: Authentication exception, principal=null What is happening? Thanks for any help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842035#3842035 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842035 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Security Exception while trying to access secured EJB
Hi!, I am trying a sample EJB application to RD some security related issues. I want to access EJB through a web application as well as a Swing client. I have set approriate method-permission in EJB deployment descriptor. I am using users.properties/roles.properties file for authentication mechanism. - On the web application side I am using BASIC authentication and the servlet is able to access the EJB OK, as long as I am using a login/password that has access to the EJB. - Now I am trying to access the EJB using a stand alone Java class. These are the things I have tried till now: =Created a InitialContext with appropriate principal, credentials and tried getting a reference to EJB home interface. That resulted in security exception. =Logged into a LoginContext by using appropriate JBossSX classes and then tried getting a EJB home interface. Again security exception. Now I am not sure what to do. I read at some places about client side container but not sure what that is. Can anyone give some ideas to try? Is there any other way I can make a swing application and a web applicatin authenticate to EJB container? Also can anyone point me to any documentation that gives some idea about how the security credentials gets propagated from web application to EJB container? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839316#3839316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839316 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user