cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [2/2] git commit: [CXF-5669] Adding the missing file
Date Wed, 20 Aug 2014 13:26:04 GMT
[CXF-5669] Adding the missing file


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/79be65ac
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/79be65ac
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/79be65ac

Branch: refs/heads/3.0.x-fixes
Commit: 79be65ac292c636427922f61e85de6737c7b4975
Parents: 98b58d0
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Wed Aug 20 14:18:20 2014 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Wed Aug 20 14:25:37 2014 +0100

----------------------------------------------------------------------
 .../provider/ClientRegistrationProvider.java    | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/79be65ac/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java
new file mode 100644
index 0000000..d1010b9
--- /dev/null
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java
@@ -0,0 +1,30 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.cxf.rs.security.oauth2.provider;
+
+import java.util.List;
+
+import org.apache.cxf.rs.security.oauth2.common.Client;
+
+public interface ClientRegistrationProvider {
+    Client getClient(String clientId);
+    void setClient(Client client);
+    Client removeClient(String clientId);
+    List<Client> getClients();
+}


Mime
View raw message