Thanks Thomas,
this is a really simple and flexible solution.
I added it to the WSSecureEndpoint page in the wiki
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint
Only one thing what is left: Does anybody know how to set the soap address to
"https://REPLACE_WITH_ACTUAL_URL"; if the ws
Ok, I now figured it out:
A client certificate is not needed but you have to specify a valid keystore and
a valid truststore as well:
| System.setProperty("javax.net.ssl.keyStorePassword", "mypassword");
| System.setProperty("javax.net.ssl.keyStore", "mykeystore.jks");
|
At the moment I try to migrate my JBoss webervice client from 4.0.2 to 4.0.3
(becaus I saw that the webservice client of 4.0.3 should finally run with Java
1.5).
But I am running into some other exceptions:
| java.io.FileNotFoundException: C:\Dokumente und
Einstellungen\MyProfile\.keystore
Ok, I got a workaround but it is not a real solution:
By default the soap:address in the wsdl file(s) is set to:
|
| If you want to use Webservice over https and only over https you can not
let JBoss replace the address for you. You have to set it manually to the
fqdns-name including proto
Hi,
I created a webservice an the corresponding client. The server is running on
JBoss4.02, HTTPS and certificate correctly configured for port 8443 (access via
webbrowser works fine).
The clint uses the jboss-client libraries, including the axis-ws4ee.jar. Now
after disabling the unsecure port
"buntjer" wrote :
| Another weirdness in webservices.xml is the location of the wsdl-file and
the jaxrpc-mapping file. At first creation the paths to these files are set to:
|
| | WEB-INF/META-INF/wsdl/myProject.wsdl
| |
WEB-INF/META-INF/jaxrpc-mapping.xml
| |
|
If you are r
"[EMAIL PROTECTED]" wrote : I am having an impossible time creating the
in the webservices.xml.
|
| I am using the latest Xdoclet build xdoclet-1.2.3
|
| * @wsee.port-component name="ThePort"
| * wsdl-port="MyBeanEndpointPort"
| * service-endpoint-interace="com.
"kenlohwh" wrote :
| Therefore, I'd like to ask if it is okay if I use only principalsQuery
without rolesQuery ?
I don't know you have to set an role query. I "solved" this problem by using
the following roles query:
SELECT varchar 'MyStaticRole' AS "roles";
It always does return the MyStati
Hi.
I have worked my way through the "WSSecureEndpoint-Tutorial" and it works nice.
However I need my own security realm so I changed it and created an entry for
it in the login-config.xml. But now I can not even create the service without
login (access denied to the wsdl file). The given examp
Hi.
I am just trying figure out if it is possible to authenticate in JBoss using a
random challenge.
According to "8.4.1. How the JaasSecurityManager Uses JAAS"
(http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch8.chapter.html#d0e18089)
JAAS only allows to pass the login credentials from clie
10 matches
Mail list logo