[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security issue with remote client

2006-01-06 Thread niwhsa
I think you ahve not enabled security for the ejb-app. What does the jboss.xml say? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916022#3916022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916022

[JBoss-user] [Security & JAAS/JBoss] - Re: ejb security

2005-01-28 Thread [EMAIL PROTECTED]
Start with the JAAS Howto post in this forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863865#3863865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863865 ---

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-14 Thread ceasaros
Maybe it's possible for you to use a filter instead of a servlet. (servlet2.3 specs). The filter is always executed before handling the request in a servlet. I though you can filter you're request before it's authenticated by Tomcat/JBoss but than again I think the authentication is executed bef

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-14 Thread auckyboy
fixed View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842096#3842096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842096 --- This SF.Net email is sponsored by BEA W

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread auckyboy
Is there no way to explicitly set the principal in the ejb tier..i.e. set credentials in the context p.put(Context.SECURITY_PRINCIPAL, "admin"); p.put(Context.SECURITY_CREDENTIALS, "adminpass"); or some other way ? View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread elaineqs
Thanks for your reply! Yes, the login.jsp is from my web application. I wouldn't like to authenticate through web application because i have to specify the LoginModule at the deployment descriptor. This is a problem to my application because it can authenticate users with diferent databases

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security

2004-07-13 Thread ceasaros
You perform the authentication / authorization within the web application environment and not in the ejb application environment. So your principal is only available inside your webserver (tomcat) and not in the ejb application environment. If you don't want security in your webapplication how d

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-25 Thread PhilC
Great! This fixes the problem for me. Thank you. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827399#3827399";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827399>Reply to the post --

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-24 Thread [EMAIL PROTECTED]
| // Standard | MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0); | // Or jboss specific | MBeanServer server = MBeanServerLocator.locateJBoss(); | | // Standard MBeanServer usage | ObjectName name = ...; |

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-24 Thread PhilC
I have exactly the same problem. I started upgrading to 3.2.3 this week. The application works well except for Session Beans making JMX calls with RMIAdaptor. The security principal gets cleared. | Context ic = new InitialContext(); | org.jboss.jmx.adaptor.rmi.RMIAdaptor server = (org.jbos

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-23 Thread mescalito
Hi Scott, Looking at one of the recent questions about clearing SecurityAssociation when invoking JMX, I've finally identified the problem. I'm using JMX all over the place in our custom logging framework (using an RMIAdaptor call), but I couldn't even think about it as a cause of the problem,

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-22 Thread [EMAIL PROTECTED]
Something is clearing the security association between the two ejbs then. Hack the org.jboss.security.SecurityAssociation to print a stack trace of who is calling clear or setPrincipal/setCredential with null values, or use a debugger to find this out. http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-22 Thread mescalito
Hi Scott, This is the full stack trace: | 2004-03-19 09:15:38,590 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException, causedBy: | java.lang.SecurityException: Authentication exception, principal=null | at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(Securit

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB security propagation issue when moving from JBoss 3.

2004-03-21 Thread starksm
The descriptors won't be of any help. You have to post the full stack trace of the security exception to see what invocation layers are involved. If you have an example ear that demonstrates the problem create bug report on sourceforge and attach the ear to the report. http://www.jboss.org/ind

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB Security across different servers

2004-02-13 Thread paulhilliar
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821377#3821377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821377 That fixes it - thanks Paul. --- SF.Net is spo