[JBoss Portal] - Re: Importing Users into JBoss Portal 2.4.1
by Antoine_h
I guess you are using jbp 2.6 with ldap intégration ?
I still use 2.4, but...
for importing the user, look at the UserModule and RoleModule.
they are jmx services, so they are described in one of the jboss-service.xml of the portal.
and look at the java class.
you'll see there how to add some users in the db.
but... i would do a better integration.
Because doing some kind of replication of the user information from the ldap to the table into the portal is not a good idea : it should bring a lot of other troubles (how to update etc...).
=> modify the user module so that it provide the data of the user directly coming from the LDAP.
and adapt the user management screen so it comply with the data that are available in your ldap.
I am quite sure things have been organized like that on the 2.6 version.
may be it is a question to set all the configuration for LDAP authentification properly.
may be you have missed something when setting your configuration.
especialy look around the UserModule...
this are some guess, as I don't use yet the 2.6
hope it helps...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010034#4010034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010034
19Â years, 2Â months
[JBossWS] - Web services and stateful session
by jova73
Hi,
I'm working with JBoss 4.0.5 and the embedded JBoss Web Service support.
I have to expose as web services some functionalities of an existing J2EE application with stateful session management, i.e. I've a javax.ejb.Handle object which references my session and this handle must be passed to every method of the business logic EJBs.
Questions:
- how can I expose this Handle object to a web service client?
javax.ejb.Handle is not supported by JAX-RPC so I was considering serializing this object (e.g. base64 encoding). Is there any better method?
- I serialized my handle object to a file and it's less then 400 bytes: is that the average size of a serialized JBoss javax.ejb.Handle?
- is there any standard, implemented by JBoss 4.0.5, for a web service conversation?
I'd like to have my web service client making the following calls:
perform login
request one or more service (each one once or more times)
perform logout
Maybe I'm wrong but I think that my model doesn't fit in BPEL (I can't know in advance which and how many services a client will call between login() and logout())... Any suggestion?
Thanks in advance,
Andrea
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4010026#4010026
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4010026
19Â years, 2Â months