Questions tagged [rampart]

Apache Rampart - Axis2 Security Module

Rampart is the security module of Axis2. It secures SOAP messages according to specifications in the WS-Security stack. Homepage: http://axis.apache.org/axis2/java/rampart/

163 questions
0
votes
1 answer

Unable to deploying Rampart into Axis2

When am trying to deployin Rampart(rampart-1.6.2) into Axis2(axis2-1.6.0) am getting the below excpetion. I have followed the steps which are mentioned here Exception trace: weblogic.application.ModuleException: [HTTP:101216]Servlet: "AxisServlet"…
kuttysun
  • 7
  • 4
0
votes
1 answer

Getting InvalidJarIndexException when executing python script using jython

I am getting a sun.misc.InvalidJarIndexException when invoking a python script from a web service using jython. I am using JDK 7, Axis2 1.6, rampart 1.6 and jython 2.5.0. It works fine if same operations are performed from a Servlet or web services…
Ganesh
  • 11
  • 4
0
votes
1 answer

Secure axis2 with username token

Im trying to generate security with username token in axis2 with rampart. String securityPolicyPath = "/WEB-INF/policy.xml"; ConfigurationContext ctx =…
ajit.prazanna
  • 134
  • 2
  • 5
0
votes
1 answer

Retrieve username from UsernameToken scenario in web service on WSO2 Application Server

I have a WSO2 ESB WSDL based proxy service which is secured with UsernameToken scenario. This wrapper service is for an Axis2 back-end web service deployed as an .aar file in the WSO2 Application Server. What I want is to retrieve the username used…
Voicu
  • 16,921
  • 10
  • 60
  • 69
0
votes
1 answer

configuring handlers :Axis2 ,Rampart

I currently have a handler to check if action given in SOAPAction field of HTTP header and the actual operation are the same.I have followed the Axis2 tutorial and I get this exception : Deployment exception for the handler And WSDoAllReceiver…
0
votes
1 answer

( Axis2 / Rampart ) Disable BSP Compliance OR Remove

I am looking to disable BSP Compliance (I dont want my message containing the elements ). I have tried, to no avail: OutflowConfiguration outflowConfig = new…
0
votes
2 answers

How to configure Timestamp created/expires in Rampart

I'm using Rampart as my WS-Security module over Axis2. My policy XML file is below:
SiN
  • 3,704
  • 2
  • 31
  • 36
0
votes
1 answer

How can I use dynamic user credentials with Axis2 and Rampart?

I'm attempting to fix a client app that uses Axis2 and Rampart. The app will be accessing the same API using multiple sets of credentials. Currently, the password callback class relies on the user in the axis2.xml file to determine which…
mrog
  • 1,930
  • 3
  • 21
  • 28
0
votes
1 answer

Signing All headers including Elements ReplyTo, To, MessageId and Action With Apache Axis2 and Rampart

I need to sign WS-Addressing elements in my soap message. Is it possible with apache axis2 ws-addresing and rampart? I've found this example - sample2 http://axis.apache.org/axis2/java/rampart/samples.html. But ws-addressing elements are not…
tomde
  • 103
  • 6
0
votes
1 answer

How to disable UsernameToken encryption in soap Axis2 Rampart

I am using axis2 with rampart1.6.2 to create webservice client. I need to setup rampart to use username token and just to sign the message, not encrypt, but rampart is encrypting username token without any reason and I am unable to disable this…
tomde
  • 103
  • 6
0
votes
1 answer

ERROR engine.AxisEngine: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm

I am getting the below exception when I am calling the SecureStockQuoteProxy service with a proxy service. Here I have exposed this secured service as a REST API (which is unsecured). When I am calling the REST API, ESB throws the below…
Chanaka udaya
  • 5,134
  • 4
  • 27
  • 34
0
votes
1 answer

Add a .mar library to intellij project

Currently I am trying to include the rampart mar file in my project but when go to File -> Project Structure -> Dependencies -> Add Jars or directories and then navigate to rampart module folder, it doesn't show the rampart-1.6.2.mar file. I have…
Ashish Gaur
  • 2,030
  • 2
  • 18
  • 32
0
votes
1 answer

class loader in rampart fail to find PWCBHandler

I have a web service client inside a webservice develop in axis2. the web service client need some rampart dependencies to construct the soap message and also need the password for the user. the passwork are taken from this class:PWCBHandler and I…
Jorge Infante Osorio
  • 2,143
  • 15
  • 26
0
votes
1 answer

put a web service client in axis2 inside a maven webapp in tomcat

I need to consume a secure webservice from inside my webservice deployed in axis2-tomcat. my problem is with the resources I need to consume the secure webservice. for example in a class that act as a client for this secure web service i can do…
Jorge Infante Osorio
  • 2,143
  • 15
  • 26
0
votes
1 answer

In ws-security under UsernameToken, is not a valid assertion?

We are implementing the web services using Apache Axis2 and integrating with WS-Security (using Apache Rampart module) too. We are trying to define the Ws-Security policy that does NOT force the consumer to send the password in Usernametoken…
aRvi
  • 107
  • 1
  • 2
  • 13