From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../server/transaction/TransactionContext.html | 304 +++++++++++++++++++++ 1 file changed, 304 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html new file mode 100644 index 000000000..4b77f5142 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/spss/server/transaction/TransactionContext.html @@ -0,0 +1,304 @@ + + + + + + +MOA SP/SS Server Internal API: Class TransactionContext + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.spss.server.transaction +
+Class TransactionContext

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.spss.server.transaction.TransactionContext
+
+
+
+
public class TransactionContext
extends Object
+ +

+Contains information about the current request. +

+

+
Author:
Stefan Knirsch, Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TransactionContext(String transactionID, + X509Certificate[] clientCertificate, + ConfigurationProvider configuration) + +
+          Create a TransactionContext object.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ X509Certificate[]getClientCertificate() + +
+          Returns the client certificate.
+ ConfigurationProvidergetConfiguration() + +
+          Returns the ConfigurationProvider associated with this + transaction.
+ StringgetRequestName() + +
+          Returns the name of the request.
+ StringgetTransactionID() + +
+          Returns the unique transaction ID.
+ voidsetRequestName(String requestName) + +
+          Sets the name of the request.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TransactionContext

+
+public TransactionContext(String transactionID,
+                          X509Certificate[] clientCertificate,
+                          ConfigurationProvider configuration)
+
+
Create a TransactionContext object.
+
Parameters:
transactionID - A unique ID for this TransactionContext.
clientCertificate - The client certificate chain.
configuration - The MOA configuration to use for this transaction.
+
+
+ + + + + + + + +
+Method Detail
+ +

+getClientCertificate

+
+public X509Certificate[] getClientCertificate()
+
+
Returns the client certificate.
+
Returns:
The client certificate chain, if SSL client authentication has been + configured in the web server and has been used by the client. The 0th + element of the array contains the client certificate. null + otherwise.
+
+
+
+ +

+getTransactionID

+
+public String getTransactionID()
+
+
Returns the unique transaction ID.
+
Returns:
The transaction ID.
+
+
+
+ +

+getRequestName

+
+public String getRequestName()
+
+
Returns the name of the request.
+
Returns:
The name of the request.
+
+
+
+ +

+setRequestName

+
+public void setRequestName(String requestName)
+
+
Sets the name of the request.
+
Parameters:
requestName - The request name to set.
+
+
+
+ +

+getConfiguration

+
+public ConfigurationProvider getConfiguration()
+
+
Returns the ConfigurationProvider associated with this + transaction.
+
Returns:
The ConfigurationProvider associated with this transaction.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3