[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Active Directory Login Obscure Serialization Error

2006-05-25 Thread schuller007
Anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946643#3946643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946643 --- All the advantages of Linux Managed H

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-24 Thread schuller007
Bill, I am a bit puzzled, I thought you acknowledged that it does not work in the GA and you will update the SSL tutorial. Again I have tried the old tutorial out of the box and I am getting 11:37:00,500 WARN [ServiceController] Problem starting service jboss.security:service=JaasSec

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-23 Thread schuller007
Yes it is deployed and started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945726#3945726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945726 --- Using Tomcat

[JBoss-user] [JCA/JBoss] - Re: Restricting access to datasources

2006-05-19 Thread schuller007
The stacked approach does work, unfortunately after the connection pool is created, subsequent calls are getting the conection from the pool and the DS security policy is not invoked anymore. If the user creating the connection pool has the right credentials, subsequent getConnection() calls are

[JBoss-user] [JCA/JBoss] - Re: Restricting access to datasources

2006-05-19 Thread schuller007
How about other applications deployed in the same context? i.e. an EJB from another application accessing the DS? I agree that the DS has no concept of secured invokation, but it can be associated with a security domain that will control access to that DS (as per the post bellow) http://wiki.jb

[JBoss-user] [JCA/JBoss] - Re: Restricting access to datasources

2006-05-19 Thread schuller007
I am using the user-role mapping for my EJBs, however I would like to secure the datasource only (i.e. regardless if it's used by EJB's, standalone classes, servlets, etc). In other words being able to say that this datasource is only to be used by this role. View the original post : http://w

[JBoss-user] [JCA/JBoss] - Re: Restricting access to datasources

2006-05-18 Thread schuller007
Inside your EJB you can do something like: | @Resource | SessionContext ctx; | public void getPrincipal () { | ... | Principal p = ctx.getCallerPrincipal(); | .. | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944744#3944744 Reply to th

[JBoss-user] [JCA/JBoss] - Re: Restricting access to datasources

2006-05-18 Thread schuller007
Great, Following your suggestion I have configured a stacked login module, but this way all the Active Directoryt users will be given access to the datasource. Is there a way to restrict it to a group, or I need to write a custom login module? ldap://palm/

[JBoss-user] [JCA/JBoss] - Restricting access to datasources

2006-05-17 Thread schuller007
Can I define a datasource that is only visible to my application's ejbs and not to other apps co-existing on the same server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944418#3944418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[JBoss-user] [Datasource Configuration] - Restricting access to datasources

2006-05-17 Thread schuller007
Can I define a datasource that is only visible to my application's ejbs and not to other apps co-existing on the same server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944417#3944417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[JBoss-user] [EJB 3.0] - Re: Chapter 9 Transports not working with 4.0.4 GA

2006-05-17 Thread schuller007
I am still stuck on this, could you give me a hint on how to proceed from here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944343#3944343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944343 -

[JBoss-user] [Security & JAAS/JBoss] - JAAS Active Directory Login Obscure Serialization Error

2006-05-17 Thread schuller007
jboss version: 4.0.4 GA I have a Swing Rich Client implementing JAAS and invoking EJB3 stateless session beans. The session beans are secured against Active Directory. Whenever I enter bad credentials an exception thrown, which is expected. The side effect serialization exception is not. What

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-16 Thread schuller007
How come it works on 4.0.4 RC1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943653#3943653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943653 --- Using Tomcat

[JBoss-user] [EJB 3.0] - Chapter 9 Transports not working with 4.0.4 GA

2006-05-16 Thread schuller007
I have got a rich client accessing a stateless ejb3 via SSL working under 4.0.4 RC1. I have followed the instructions @ http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/transport.html However, the same code stopped working under 4.0.4 RC2 and 4.0.4 GA. I have gotten some

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-16 Thread schuller007
In the server.log I found the following. I am not getting this in 4.0.4RC1. [org.jboss.system.ServiceController] Creating dependent components for: jboss.aop:service=AspectDeployer dependents are: [ObjectName: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3 State: CONFIGUR

[JBoss-user] [EJB 3.0] - Re: Chapter 9 Transports not working with 4.0.4 GA

2006-05-16 Thread schuller007
Thanks for the reply. I have deployed the jboss-service.xml but I am getting the following. How do you register the SecurityManager? Any articles on this? 08:42:50,046 WARN [ServiceController] Problem starting service jboss.security:service=JaasSecurityDomain,domain=SSLAdvanced javax.managemen

[JBoss-user] [EJB 3.0] - Re: stateless-ssl-invoker for EJB3?

2006-05-16 Thread schuller007
I am using the example jboss-service.xml and I am getting 13:55:41,859 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 13:55:42,953 WARN [ServiceController] Problem starting service jboss.security:service=JaasSecurityDomain,domain=SSLAdvanced javax.management.Ins

[JBoss-user] [EJB 3.0] - JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-16 Thread schuller007
Following the instructions at http://docs.jboss.org/ejb3/appserver/reference/build/reference/en/html/transport.html I could run my rich client app against EJB3s running on sslsocket no problem. On 4.0.4 R2 running the same code, following the same steps I am getting the following exception:

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-15 Thread schuller007
I have copied the example into my ejb3.deployer/META-INF/jboss-service.xml but I got this exception: 11:37:00,500 WARN [ServiceController] Problem starting service jboss.security:s ervice=JaasSecurityDomain,domain=SSLAdvanced javax.management.InstanceNotFoundException: jboss.security:service=Ja

[JBoss-user] [EJB 3.0] - Re: JB0SS 4.0.4 R1 -> 4.0.4.R2 ssl ejb3 stopped working

2006-05-15 Thread schuller007
Thanks for the repy, but I am using the correct libraries: In jboss404r2\client: jbossall-client.jar jboss-aop-jdk50-client.jar jboss-aspect-jdk50-client.jar jboss-ejb3-client.jar jboss-ejb3x.jar Any other ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[JBoss-user] [Security & JAAS/JBoss] - Re: EJB3 OpenLDAP LdapLoginModule role validation failure

2006-04-03 Thread schuller007
There is a copy-paste error in the login-config.xml b4: ldap://padymelon/ou=People,dc=padymelon,dc=abc,dc=com actual: ldap://padymelon/ou=Group,dc=padymelon,dc=abc,dc=com I have also wrote a custom login module, to see what the values of the principals are and now they come back as null. In

[JBoss-user] [Security & JAAS/JBoss] - EJB3 OpenLDAP LdapLoginModule role validation failure

2006-03-31 Thread schuller007
EJB3 Code: @Stateless @SecurityDomain ("test") @RolesAllowed("Allora-User") public class EJBOps implements EJBOpsRemote {...} If I do not specify the RolesAllowed, a remote client gets authenticated OK and is able to call the EJB. With the RolesAllowed in, I get Insufficient permissions, princip

[JBoss-user] [Security & JAAS/JBoss] - Re: Mapping ldap groups to jboss roles? where?

2006-03-29 Thread schuller007
How did you define your Active Directory connection? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933472#3933472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933472

[JBoss-user] [JBoss Getting Started Documentation] - Re: use an EJB as client of a web service

2006-03-24 Thread schuller007
Anybody actually found a solution to this problem? I have been also following Anil's blog, which is BTW a far better post than the JBOSS documentation, just to end up with the same error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932491#3932491 Reply to

[JBoss-user] [JNDI/Naming/Network] - Re: Standalone application using jndi jboss datasource

2006-03-03 Thread schuller007
Scott, Thanks for the reply. Considering the fact that remote data source is slow, would retrieving data through web services be a better approach? Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927818#3927818 Reply to the post : http://www.jboss.c

[JBoss-user] [JNDI/Naming/Network] - Standalone application using jndi jboss datasource

2006-03-02 Thread schuller007
Hello, I have a stand-alone java rich client application that makes use of hibernate. Is it possible to configure a data source in JBOSS and configure hibernate on the client side to use it via JNDI? Any samples? Gotchas? Sample hibernate property files? Thanks in advance, Richard View the ori