[JBossWS] - Web Services Transactions
by matias.blasi
Hello, I am researching about the web services transactions behaiviour...
I have read the WS-C, WS-AT & WS-BA specifications, and several internet papers, i have the concepts.
Now I am looking for a working sample, to have something runing something to begin from...
I know that Arjuna had an implementation, and it was included in jboss project so far. I understand it is now the jbossts component.
I was trying to run the xts-demo application into the jboss-4.2.2 & jbossts-4.2.2 with no success...
Now I am with jboss-5.0.0-beta4, where is the web services transcation support here? I see only a jbossws component, as a .sar application, but no samples, and nothing seems to provide the web services transaction support...
Can anyone help me? I've put a lot of days in that, and I need a sample to see this feature really working...
Thank you a lot!
Matias Blasi.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131661#4131661
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131661
18 years, 1 month
[JBoss Portal] - Re: JbossPortal and ldap
by kahotep
"badock" wrote : I'm sorry, but i don't see any connection between what you're writing and my problems...
|
| Sure, you seem to have issues with ldap+jboss too, but since your problems look a lot different from mine, i think you should get your own thread...
|
| No offense, but you're not helping me getting information by flooding this thread.
|
| Regards.
Sorry dude,
I've always been of the philosophy that message board threads are more useful when all of the posts related to a particular subject are in a particular thread. In this case, JBossPortal and LDAP fits both of our situations.
That makes it alot easier to browse through the conversations on this subject imo.
My configuration works for everything except adding and removing users, so I thought it might be a good reference for you to look at.
My apologies.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131660#4131660
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131660
18 years, 1 month
[Security & JAAS/JBoss] - Re: Tomcat 5.5 login module compatibility?
by jptalberg
Thanks for the pointer on how to enable debug.
We actually were in the process of decompiling the byte code in the jars already.
This is what we've found. The libraries are definitely geared towards Tomcat 5.5. They implement a custom LoginModule, but they also rely on a custom JAASRealm which extends org.apache.catalina.realm.RealmBase. Further the custom principal they are creating from their Realm extends org.apache.catalina.realm.GenericPrincipal.
Is there any way to configure the default AS 4.2.1 to use this Tomcat 5.5 module/realm without requiring modification to the source code? Our big dilemma, is that the LoginModule and Realm our outside our control; and further there is a development jar and a production jar which have essentially the same configurations but different behavior -- so us modifying the development one and testing with it will not necessarily help us be ready for production. We'd much rather figure out how to configure the security without needing modification to security modules we are being provided.
We have been able to configure the login module, and it seems to be working. But we aren't sure how to configure in the Realm, or if you even can. Ultimately what we need is to be able to get the Custom Principal object back from request.getUserPrincipal().
Thanks for your help!
Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131658#4131658
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131658
18 years, 1 month
[Security & JAAS/JBoss] - Basic Authentication Using Oracle XE
by fcastillo.ec
I configure jboss to use Basic Authentication using Oracle XE as the database where passwords and roles have to be looked. But after deploying my application and trying to access it, the username and password supply don't let me go inside the application. I've tried everything and the dialog that asks for the username and password keeps appearing and asking for the credentials, even though I'm 100% sure the username and password supplied where correct. Here is a list of the files used to configure the Basic Authentication.
web.xml
<!-- Configure the Security Constraints -->
| <security-constraint>
| <web-resource-collection>
| <web-resource-name>Bank Server protected servlet.</web-resource-name>
| <description>Require users to authenticate.</description>
| <url-pattern>/*</url-pattern>
| </web-resource-collection>
|
| <auth-constraint>
| <description>Allow AccountUssers to access the application.</description>
| <role-name>USER</role-name>
| </auth-constraint>
| </security-constraint>
|
| <security-role>
| <description>Account Users</description>
| <role-name>USER</role-name>
| </security-role>
|
| <login-config>
| <auth-method>BASIC</auth-method>
| <realm-name>BankServerJaasDbRealm</realm-name>
| </login-config>
jboss-web.xml
<security-domain>java:/jaas/BankServerJaasDbRealm</security-domain>
login-config.xml
<application-policy name = "BankServerJaasDbRealm">
| <authentication>
| <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule"
| flag = "required">
| <module-option name="unauthenticatedIdentity">guest</module-option>
| <module-option name="password-stacking">useFirstPass</module-option>
| <module-option name="dsJndiName">java:/OracleBankDS</module-option>
| <module-option name="principalsQuery">SELECT PASSWORD FROM ACCOUNT_INFO WHERE ACCOUNTNUMBER=?</module-option>
| <module-option name="rolesQuery">SELECT ROLE FROM ACCOUNT_INFO WHERE ACCOUNTNUMBER=?</module-option>
| </login-module>
| </authentication>
| </application-policy>
Any ideas why isn't it working?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131646#4131646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131646
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Scheduler problem
by rikibarkiki
Hello friend,
I saw some post of you at the JBoss forum and I have a similar problem,
I try to run the Scheduler example from the jboss site and it run o.k but when I restart the server I got this error
I put some code at scheduler-service.xml
true
ejb.ExSchedulable
TheName,123456789
java.lang.String,long
NOW
4000
1
And create some class file at ejb package under the ejb lib
package ejb;
import java.util.Date;
import org.jboss.varia.scheduler.Schedulable;
import org.apache.log4j.Logger;
public class ExSchedulable implements Schedulable
{
private static final Logger log = Logger.getLogger(ExSchedulable.class);
private String name;
private long value;
private String response;
public ExSchedulable(String name, long value)
{
this.name = name;
this.value = value;
log.info("ctor, name: " + name + ", value: " + value);
}
public void perform(Date now, long remainingRepetitions)
{
log.info("perform, now: " + now +
", remainingRepetitions: " + remainingRepetitions +
", name: " + name + ", value: " + value);
response=SendAndReciveRequest.sendAndRecive("http://localhost:8080/SkillogicAS-war/CounterServlet");
log.info("Response "+response);
}
}
The error that show when the server start is
--- MBeans waiting for other MBeans ---
ObjectName: jboss.docs:service=Scheduler
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute SchedulableClass = ejb.ExSchedulable on mbean jboss.docs:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class ejb.ExSchedulable is not not found)
10x a lot ï
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131641#4131641
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4131641
18 years, 1 month