You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by na...@apache.org on 2008/06/26 08:25:02 UTC
svn commit: r671797 -
/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java
Author: nandana
Date: Wed Jun 25 23:25:02 2008
New Revision: 671797
URL: http://svn.apache.org/viewvc?rev=671797&view=rev
Log:
RAMPART-177 RampartConfigCallbackHandler interface
Added:
webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java
Added: webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java?rev=671797&view=auto
==============================================================================
--- webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java (added)
+++ webservices/rampart/trunk/java/modules/rampart-core/src/main/java/org/apache/rampart/RampartConfigCallbackHandler.java Wed Jun 25 23:25:02 2008
@@ -0,0 +1,37 @@
+/*
+ * 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.rampart;
+
+import org.apache.rampart.policy.model.RampartConfig;
+
+/**
+ * Callback handler interface to update Rampart Configuration dynamically. Updater class should
+ * implement this interface and should be registered using the Rampart Configuration as below.
+ *
+ * Example:
+ * <PRE>
+ * <ramp:RampartConfig xmlns:ramp="http://ws.apache.org/rampart/policy">
+ * <ramp:rampartConfigCallbackClass>o.a.r.ConfigUpdater</ramp:rampartConfigCallbackClass>
+ * ...
+ * </ramp:RampartConfig>
+ * </PRE>
+ */
+
+public interface RampartConfigCallbackHandler {
+
+ public void update(RampartConfig rampartConfig);
+
+}
\ No newline at end of file