You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ru...@apache.org on 2006/03/24 05:12:51 UTC
svn commit: r388356 - in /webservices/axis2/trunk/java/modules/security: ./
src/META-INF/ src/org/apache/axis2/security/trust/
src/org/apache/axis2/security/trust/impl/
src/org/apache/axis2/security/trust/types/
test/org/apache/axis2/security/trust/
Author: ruchithf
Date: Thu Mar 23 20:12:49 2006
New Revision: 388356
URL: http://svn.apache.org/viewcvs?rev=388356&view=rev
Log:
- Added the services.xml for the default STS impl
- Create the SecurityTokenService during the maven build
- Updated the TokenIssure to add a method to return the response wsa:Action
Added:
webservices/axis2/trunk/java/modules/security/src/META-INF/sts-services.xml
Modified:
webservices/axis2/trunk/java/modules/security/maven.xml
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/Constants.java
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/STSMessageReceiver.java
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenIssuer.java
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenRequestDispatcher.java
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/impl/SCTIssuer.java
webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/types/RequestSecurityTokenType.java
webservices/axis2/trunk/java/modules/security/test/org/apache/axis2/security/trust/TempIssuer.java
Modified: webservices/axis2/trunk/java/modules/security/maven.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/maven.xml?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/security/maven.xml Thu Mar 23 20:12:49 2006
@@ -52,6 +52,34 @@
<delete includeEmptyDirs="true">
<fileset dir="target/temp-mar"/>
</delete>
+
+ <!-- Create the sts.aar -->
+ <mkdir dir="target/sts"/>
+ <mkdir dir="target/METS-INF"/>
+ <mkdir dir="target/sts/lib"/>
+ <!-- Copy classes -->
+ <copy todir="target/sts">
+ <fileset dir="target/classes">
+ <include name="**/org/apache/axis2/security/trust/*/**/*.class"/>
+ <include name="**/org/apache/axis2/security/trust/*.class"/>
+ </fileset>
+ </copy>
+ <!-- copy jars -->
+ <copy file="${maven.repo.local}/xml-security/jars/xmlsec-${xmlsec.version}.jar" todir="target/sts/lib"/>
+ <copy file="${maven.repo.local}/bouncycastle/jars/bcprov-${bcprov.version}.jar" todir="target/sts/lib"/>
+ <copy file="${maven.repo.local}/opensaml/jars/opensaml-${opensaml.version}.jar" todir="target/sts/lib"/>
+ <copy file="${maven.repo.local}/wss4j/jars/wss4j-${wss4j.version}.jar" todir="target/sts/lib"/>
+
+ <copy file="target/classes/META-INF/sts-services.xml" toFile="target/sts/META-INF/services.xml"/>
+
+ <jar jarfile="target/SecurityTokenService.aar" basedir="target/sts/">
+ <include name="**/*"/>
+ </jar>
+
+ <delete includeEmptyDirs="true">
+ <fileset dir="target/sts"/>
+ </delete>
+
</postGoal>
<preGoal name="java:compile">
Added: webservices/axis2/trunk/java/modules/security/src/META-INF/sts-services.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/META-INF/sts-services.xml?rev=388356&view=auto
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/META-INF/sts-services.xml (added)
+++ webservices/axis2/trunk/java/modules/security/src/META-INF/sts-services.xml Thu Mar 23 20:12:49 2006
@@ -0,0 +1,20 @@
+<!-- Security token service configuration -->
+<service name="STS">
+
+ <operation name="RequestSecurityToken">
+ <messageReceiver class="org.apache.axis2.security.trust.STSMessageReceiver"/>
+ <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue</actionMapping>
+ <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew</actionMapping>
+ <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel</actionMapping>
+ <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Validate</actionMapping>
+ <actionMapping>http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT</actionMapping>
+ </operation>
+
+ <parameter name="token-dispatcher-configuration">
+ <token-dispatcher-configuration>
+ <issuer class="org.apache.axis2.security.trust.impl.SCTIssuer" default="true">
+ <tokenType>http://schemas.xmlsoap.org/ws/2005/02/sc/sct</tokenType>
+ </issuer>
+ </token-dispatcher-configuration>
+ </parameter>
+</service>
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/Constants.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/Constants.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/Constants.java Thu Mar 23 20:12:49 2006
@@ -29,4 +29,21 @@
public final static String REQ_TYPE_VALIDATE = "http://schemas.xmlsoap.org/ws/2005/02/trust/Validate";
public final static String REQ_TYPE_RENEW = "http://schemas.xmlsoap.org/ws/2005/02/trust/Renew";
public final static String REQ_TYPE_CANCEL = "http://schemas.xmlsoap.org/ws/2005/02/trust/Cancel";
+
+ //Token types
+ public final static String TOK_TYPE_SCT = "http://schemas.xmlsoap.org/ws/2005/02/sc/sct";
+
+ //RST actions
+ public final static String RST_ACTON_ISSUE = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue";
+ public final static String RST_ACTON_VALIDATE = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew";
+ public final static String RST_ACTON_RENEW = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel";
+ public final static String RST_ACTON_CANCEL = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Validate";
+ public final static String RST_ACTON_SCT = "http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT";
+
+ //RSTR actions
+ public final static String RSTR_ACTON_ISSUE = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue";
+ public final static String RSTR_ACTON_VALIDATE = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew";
+ public final static String RSTR_ACTON_RENEW = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel";
+ public final static String RSTR_ACTON_CANCEL = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Validate";
+ public final static String RSTR_ACTON_SCT = "http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/SCT";
}
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/STSMessageReceiver.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/STSMessageReceiver.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/STSMessageReceiver.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/STSMessageReceiver.java Thu Mar 23 20:12:49 2006
@@ -1,14 +1,31 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.axis2.security.trust;
+import javax.xml.namespace.QName;
+
import org.apache.axis2.AxisFault;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.Parameter;
-import org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver;
+import org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver;
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.soap.SOAPEnvelope;
-public class STSMessageReceiver extends AbstractInOutAsyncMessageReceiver {
+public class STSMessageReceiver extends AbstractInOutSyncMessageReceiver {
public void invokeBusinessLogic(MessageContext inMessage,
MessageContext outMessage) throws AxisFault {
@@ -21,7 +38,8 @@
TokenRequestDispatcher dispatcher = null;
if (param != null) {
dispatcher = new TokenRequestDispatcher(param
- .getParameterElement());
+ .getParameterElement().getFirstChildWithName(
+ new QName("token-dispatcher-configuration")));
} else if (paramFile != null) {
dispatcher = new TokenRequestDispatcher((String) param
.getValue());
@@ -32,7 +50,7 @@
}
if(dispatcher != null) {
- SOAPEnvelope responseEnv = dispatcher.handle(inMessage);
+ SOAPEnvelope responseEnv = dispatcher.handle(inMessage, outMessage);
outMessage.setEnvelope(responseEnv);
} else {
throw new TrustException("missingDispatcherConfiguration");
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenIssuer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenIssuer.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenIssuer.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenIssuer.java Thu Mar 23 20:12:49 2006
@@ -20,7 +20,39 @@
import org.apache.ws.commons.om.OMElement;
import org.apache.ws.commons.soap.SOAPEnvelope;
+/**
+ * The <code>TokenIssuer</code>
+ *
+ */
public interface TokenIssuer {
- public SOAPEnvelope issue(OMElement request, MessageContext msgCtx) throws TrustException;
+ /**
+ * Create the response <code>soap:Envelope</code> for the given issue
+ * request.
+ *
+ * @param request
+ * The contents of the <code>soap:Body</code> as an
+ * <code>OMElement</code>
+ * @param inMsgCtx
+ * The incoming messagge context
+ * @return The response <code>soap:Envelope</code> for the given issue
+ * request.
+ * @throws TrustException
+ */
+ public SOAPEnvelope issue(OMElement request, MessageContext inMsgCtx)
+ throws TrustException;
+
+ /**
+ * Returns the <code>wsa:Action</code> of the response
+ *
+ * @param request
+ * The contents of the <code>soap:Body</code> as an
+ * <code>OMElement</code>
+ * @param inMsgCtx
+ * The incoming messagge context
+ * @return Returns the <code>wsa:Action</code> of the response
+ * @throws TrustException
+ */
+ public String getResponseAction(OMElement request, MessageContext inMsgCtx)
+ throws TrustException;
}
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenRequestDispatcher.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenRequestDispatcher.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenRequestDispatcher.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/TokenRequestDispatcher.java Thu Mar 23 20:12:49 2006
@@ -16,6 +16,8 @@
package org.apache.axis2.security.trust;
+import javax.xml.namespace.QName;
+
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.databinding.types.URI;
import org.apache.axis2.security.trust.types.RequestSecurityTokenType;
@@ -43,18 +45,24 @@
/**
* Processes the incoming request and returns a SOAPEnvelope
* @param request
- * @param ctx
+ * @param inMsgCtx
* @return
* @throws TrustException
*/
- public SOAPEnvelope handle(MessageContext ctx)
+ public SOAPEnvelope handle(MessageContext inMsgCtx, MessageContext outMsgCtx)
throws TrustException {
RequestSecurityTokenType request = null;
try {
- request = RequestSecurityTokenType.Factory.parse(ctx.getEnvelope().getXMLStreamReader());
+ request = RequestSecurityTokenType.Factory
+ .parse(inMsgCtx.getEnvelope().getBody()
+ .getFirstChildWithName(
+ new QName(Constants.WST_NS,
+ "RequestSecurityToken"))
+ .getXMLStreamReader());
} catch (Exception e) {
+ e.printStackTrace();
throw new TrustException(TrustException.INVALID_REQUEST, e);
}
@@ -65,7 +73,7 @@
|| (reqType != null && "".equals(reqType.toString()))) {
throw new TrustException(TrustException.INVALID_REQUEST);
}
- if (Constants.REQ_TYPE_ISSUE.equals(reqType)) {
+ if (Constants.REQ_TYPE_ISSUE.equals(reqType.toString())) {
TokenIssuer issuer = null;
if (tokenType == null
|| (tokenType != null && "".equals(tokenType.toString()))) {
@@ -73,17 +81,23 @@
} else {
issuer = config.getIssuer(tokenType.toString());
}
- SOAPEnvelope response = issuer.issue(new StAXOMBuilder(request
- .getPullParser(null)).getDocumentElement(), ctx);
+
+ SOAPEnvelope response = issuer.issue(inMsgCtx.getEnvelope().getBody().getFirstChildWithName(new QName(Constants.WST_NS, "RequestSecurityToken")), inMsgCtx);
+
+ //set the response wsa/soap action in teh out message context
+ outMsgCtx.getOptions().setAction(
+ issuer.getResponseAction(new StAXOMBuilder(request
+ .getPullParser(null)).getDocumentElement(),
+ inMsgCtx));
return response;
- } else if(Constants.REQ_TYPE_VALIDATE.equals(reqType)) {
+ } else if(Constants.REQ_TYPE_VALIDATE.equals(reqType.toString())) {
throw new UnsupportedOperationException("TODO: handle " +
"validate requests");
- } else if(Constants.REQ_TYPE_RENEW.equals(reqType)) {
+ } else if(Constants.REQ_TYPE_RENEW.equals(reqType.toString())) {
throw new UnsupportedOperationException("TODO: handle " +
"renew requests");
- } else if(Constants.REQ_TYPE_CANCEL.equals(reqType)) {
+ } else if(Constants.REQ_TYPE_CANCEL.equals(reqType.toString())) {
throw new UnsupportedOperationException("TODO: handle " +
"cancel requests");
} else {
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/impl/SCTIssuer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/impl/SCTIssuer.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/impl/SCTIssuer.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/impl/SCTIssuer.java Thu Mar 23 20:12:49 2006
@@ -19,6 +19,7 @@
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.Parameter;
import org.apache.axis2.om.DOOMAbstractFactory;
+import org.apache.axis2.security.trust.Constants;
import org.apache.axis2.security.trust.TokenIssuer;
import org.apache.axis2.security.trust.TrustException;
import org.apache.ws.commons.om.OMElement;
@@ -59,11 +60,11 @@
* <li>wst:BinarySecret (for secure transport)</li>
* </ul>
*/
- public SOAPEnvelope issue(OMElement request, MessageContext msgCtx)
+ public SOAPEnvelope issue(OMElement request, MessageContext inMsgCtx)
throws TrustException {
Vector results = null;
- if ((results = (Vector) msgCtx
+ if ((results = (Vector) inMsgCtx
.getProperty(WSHandlerConstants.RECV_RESULTS)) == null) {
throw new TrustException(TrustException.REQUEST_FAILED);
} else {
@@ -87,18 +88,19 @@
throw new TrustException(TrustException.REQUEST_FAILED);
}
- Parameter param = msgCtx.getParameter(SCT_ISSUER_CONFIG_PARAM);
+ Parameter param = inMsgCtx.getParameter(SCT_ISSUER_CONFIG_PARAM);
SCTIssuerConfig config = new SCTIssuerConfig(param
.getParameterElement());
if(ENCRYPTED_KEY.equals(config.proofTokenType)) {
- return this.doEncryptedKey(config, msgCtx, principal);
+ SOAPEnvelope responseEnv = this.doEncryptedKey(config, inMsgCtx, principal);
+ return responseEnv;
} else if(BINARY_SECRET.equals(config.proofTokenType)) {
//TODO
} else if(COMPUTED_KEY.equals(config.proofTokenType)) {
//TODO
} else {
//Default behavior is to use EncrptedKey
- this.doEncryptedKey(config, msgCtx, principal);
+ this.doEncryptedKey(config, inMsgCtx, principal);
}
}
@@ -152,9 +154,13 @@
new QName("proofToken")).next();
this.proofTokenType = proofTokenElem.getText();
}
-
-
-
+ }
+
+
+
+
+ public String getResponseAction(OMElement request, MessageContext inMsgCtx) throws TrustException {
+ return Constants.RSTR_ACTON_SCT;
}
}
Modified: webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/types/RequestSecurityTokenType.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/types/RequestSecurityTokenType.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/types/RequestSecurityTokenType.java (original)
+++ webservices/axis2/trunk/java/modules/security/src/org/apache/axis2/security/trust/types/RequestSecurityTokenType.java Thu Mar 23 20:12:49 2006
@@ -7,6 +7,8 @@
package org.apache.axis2.security.trust.types;
+import javax.xml.stream.XMLStreamReader;
+
/**
* RequestSecurityTokenType bean class
*/
@@ -287,55 +289,70 @@
org.apache.axis2.databinding.utils.ConverterUtil
.convertToanyURI(stateMachine2.getText()));
+
+ // Move to a start element
+ event = reader.getEventType();
+ boolean done = false;
+ while (done) {
+ if(event == XMLStreamReader.END_ELEMENT && "RequestSecurityToken".equals(reader.getLocalName())) {
+ done = true;
+ } else if(event == XMLStreamReader.START_ELEMENT) {
+
+ java.util.ArrayList list3 = new java.util.ArrayList();
+ boolean loopDone3 = false;
+ javax.xml.namespace.QName startQname3 = new javax.xml.namespace.QName(
+ "", "extraElement");
+
+ boolean loopDone3_internal = false;
+
+ while (!loopDone3_internal) {
+ if (reader.isStartElement()
+ && startQname3.equals(reader.getName())) {
+ loopDone3_internal = true;
+ } else {
+ reader.next();
+ }
+ }
+
+ while (!loopDone3) {
+ event = reader.getEventType();
+ if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event
+ && startQname3.equals(reader.getName())) {
+
+ // We need to wrap the reader so that it produces a fake
+ // START_DOCUEMENT event
+ org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder3 = new org.apache.axis2.databinding.utils.NamedStaxOMBuilder(
+ new org.apache.axis2.util.StreamWrapper(reader),
+ startQname3);
+
+ list3.add(builder3.getOMElement());
+
+ } else if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event
+ && !startQname3.equals(reader.getName())) {
+ loopDone3 = true;
+ } else if (javax.xml.stream.XMLStreamConstants.END_ELEMENT == event
+ && !startQname3.equals(reader.getName())) {
+ loopDone3 = true;
+ } else if (javax.xml.stream.XMLStreamConstants.END_DOCUMENT == event) {
+ loopDone3 = true;
+ } else {
+ reader.next();
+ }
+
+ }
+
+ object
+ .setExtraElement((org.apache.ws.commons.om.OMElement[]) org.apache.axis2.databinding.utils.ConverterUtil
+ .convertToArray(
+ org.apache.ws.commons.om.OMElement.class,
+ list3));
- java.util.ArrayList list3 = new java.util.ArrayList();
- boolean loopDone3 = false;
- javax.xml.namespace.QName startQname3 = new javax.xml.namespace.QName(
- "", "extraElement");
-
- boolean loopDone3_internal = false;
-
- while (!loopDone3_internal) {
- if (reader.isStartElement()
- && startQname3.equals(reader.getName())) {
- loopDone3_internal = true;
- } else {
- reader.next();
- }
- }
-
- while (!loopDone3) {
- event = reader.getEventType();
- if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event
- && startQname3.equals(reader.getName())) {
-
- // We need to wrap the reader so that it produces a fake
- // START_DOCUEMENT event
- org.apache.axis2.databinding.utils.NamedStaxOMBuilder builder3 = new org.apache.axis2.databinding.utils.NamedStaxOMBuilder(
- new org.apache.axis2.util.StreamWrapper(reader),
- startQname3);
-
- list3.add(builder3.getOMElement());
-
- } else if (javax.xml.stream.XMLStreamConstants.START_ELEMENT == event
- && !startQname3.equals(reader.getName())) {
- loopDone3 = true;
- } else if (javax.xml.stream.XMLStreamConstants.END_ELEMENT == event
- && !startQname3.equals(reader.getName())) {
- loopDone3 = true;
- } else if (javax.xml.stream.XMLStreamConstants.END_DOCUMENT == event) {
- loopDone3 = true;
+
} else {
- reader.next();
+ event = reader.next();
}
-
+
}
-
- object
- .setExtraElement((org.apache.ws.commons.om.OMElement[]) org.apache.axis2.databinding.utils.ConverterUtil
- .convertToArray(
- org.apache.ws.commons.om.OMElement.class,
- list3));
} catch (javax.xml.stream.XMLStreamException e) {
throw new java.lang.Exception(e);
Modified: webservices/axis2/trunk/java/modules/security/test/org/apache/axis2/security/trust/TempIssuer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/test/org/apache/axis2/security/trust/TempIssuer.java?rev=388356&r1=388355&r2=388356&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/test/org/apache/axis2/security/trust/TempIssuer.java (original)
+++ webservices/axis2/trunk/java/modules/security/test/org/apache/axis2/security/trust/TempIssuer.java Thu Mar 23 20:12:49 2006
@@ -27,4 +27,12 @@
throw new UnsupportedOperationException("TODO");
}
+ /* (non-Javadoc)
+ * @see org.apache.axis2.security.trust.TokenIssuer#getResponseAction(org.apache.ws.commons.om.OMElement, org.apache.axis2.context.MessageContext)
+ */
+ public String getResponseAction(OMElement request, MessageContext inMsgCtx) throws TrustException {
+ // TODO TODO
+ throw new UnsupportedOperationException("TODO");
+ }
+
}